2015-10-31 06:17:14 +00:00
|
|
|
# Template file for 'libgdal'
|
|
|
|
pkgname=libgdal
|
2016-01-29 16:28:30 +00:00
|
|
|
version=2.0.2
|
2015-10-31 06:17:14 +00:00
|
|
|
revision=1
|
|
|
|
wrksrc=gdal-${version}
|
|
|
|
build_style=gnu-configure
|
|
|
|
hostmakedepends="automake libtool gettext-devel pkg-config python python-numpy"
|
|
|
|
makedepends="expat-devel libxml2-devel giflib-devel libopenexr-devel libpng-devel
|
|
|
|
jasper-devel tiff-devel poppler-glib-devel liblzma-devel openjpeg2 opencl2-headers
|
|
|
|
pcre-devel sqlite-devel"
|
|
|
|
short_desc="Geospatial Data Abstraction Library"
|
|
|
|
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
|
|
|
|
license="MIT"
|
|
|
|
homepage="http://www.gdal.org/"
|
|
|
|
distfiles="http://download.osgeo.org/gdal/${version}/gdal-${version}.tar.xz"
|
2016-01-29 16:28:30 +00:00
|
|
|
checksum=90f838853cc1c07e55893483faa7e923e4b4b1659c6bc9df3538366030a7e622
|
2015-10-31 06:17:14 +00:00
|
|
|
|
|
|
|
pre_configure() {
|
|
|
|
mv configure.{in,ac}
|
|
|
|
sed -i configure.ac -e "/AC_PROG_RANLIB/d"
|
|
|
|
autoreconf -if
|
|
|
|
}
|
|
|
|
post_install() {
|
|
|
|
vinstall gdal.pc 644 usr/lib/pkgconfig
|
|
|
|
vlicense LICENSE.TXT
|
|
|
|
}
|
|
|
|
|
|
|
|
libgdal-tools_package() {
|
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
|
|
short_desc+=" - tools"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/bin
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libgdal-devel_package() {
|
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove usr/lib/*.a
|
|
|
|
vmove usr/lib/*.so
|
|
|
|
}
|
|
|
|
}
|