1 # Maintainer: Pietro Zambelli <peter.zamb at gmail dot com>
5 pkgdesc="a library supporting Raster Data Sources within a SpatiaLite DB
6 [and any releated CLI management tool]"
8 url="http://www.gaia-gis.it/spatialite-2.3.0/index.html"
10 depends=('libspatialite')
13 'libtiff: a library required in order to access TIFF',
14 'libgeotiff: a library supporting GeoTIFF',
15 'libjpeg: a library required in order to access JPEG images',
16 'zlib: a library supporting DEFLATE (zip) compression',
17 'libpng:a library supporting PNG images',)
19 source=("http://www.gaia-gis.it/spatialite/${pkgname}-${pkgver}.tar.gz")
20 md5sums=('c6f7864ac6101ff63f8aec4b02603b46')
24 cd "${srcdir}/${pkgname}-${pkgver}"
26 msg "Starting configure..."
28 --prefix=/usr || return 1
30 msg "Starting make..."
33 msg "Starting install..."
34 make DESTDIR=$pkgdir install-strip || return 1
36 # or (in order to save some disk space)
37 # sudo make install-strip
39 # libtoolize --force --copy || return 1
41 # autoconf || return 1
42 # automake --add-missing || return 1
44 # ./configure --prefix=/usr || return 1
45 # make ECHO=echo || return 1
46 # make ECHO=echo DESTDIR="${pkgdir}" install || return 1
49 #make ECHO=echo PNGLIB="-L${pkgdir}/usr/lib -lpng" -f makefile.std png2pnm pnm2png
50 #install -m755 png2pnm pnm2png "${pkgdir}/usr/bin/"
51 #install -D -m644 ../../LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" || return 1
53 # rm -rf ${pkgdir}/usr/lib/{libpng.so,libpng.a,pkgconfig}
54 # rm -rf ${pkgdir}/usr/{include,share,bin}