1 # Contributor: Alexander 'hatred' Drozdov <hatred@inbox.ru>
7 pkgdesc="Man pages and documentation for GDAL library"
9 url="http://www.gdal.org/"
10 license=('custom:gdal')
12 makedepends=('cfitsio' 'doxygen')
14 options=('!libtool' '!makeflags')
15 source=(http://download.osgeo.org/${_pkgname}/${_pkgname}-${pkgver}.tar.gz)
16 md5sums=('05351f8cb61761ae579667e24a297fe6')
19 cd ${srcdir}/$_pkgname-$pkgver
21 ./configure --prefix=/usr --with-netcdf --with-libtiff --with-sqlite3 \
22 --with-geotiff --with-mysql --with-python --without-libtool --with-curl
26 echo "ENABLED_SECTIONS=man"; \
27 echo "INPUT=apps swig/python/scripts"; \
28 echo "FILE_PATTERNS=*.cpp *.dox"; \
29 echo "GENERATE_HTML=NO"; \
30 echo "GENERATE_MAN=YES") | doxygen -
31 make DESTDIR=${pkgdir} install-docs install-man
33 mv ${pkgdir}/usr/doc ${pkgdir}/usr/share/
34 mv ${pkgdir}/usr/share/gdal/man ${pkgdir}/usr/share/
35 rm -rf ${pkgdir}/usr/share/gdal