New package: libgdal-2.0.1

Geospatial Data Abstraction Library
This commit is contained in:
Jürgen Buchmüller 2015-10-31 07:17:14 +01:00
parent 5ba60c8eef
commit f9ae152a38
5 changed files with 50 additions and 1 deletions

View File

@ -2255,4 +2255,4 @@ libhidapi-libusb.so.0 hidapi-0.8.0rc1_1
libu2f-host.so.0 libu2f-host-1.0.0_1
libsqlcipher.so.0 sqlcipher-3.3.1_1
libgta.so.0 libgta-1.0.7_1
libgdal.so.20 libgdal-2.0.1_1

1
srcpkgs/libgdal-devel Symbolic link
View File

@ -0,0 +1 @@
libgdal

1
srcpkgs/libgdal-tools Symbolic link
View File

@ -0,0 +1 @@
libgdal

45
srcpkgs/libgdal/template Normal file
View File

@ -0,0 +1,45 @@
# Template file for 'libgdal'
pkgname=libgdal
version=2.0.1
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"
checksum=2564c91ed8ed36274ee31002a25798f5babc4221e879cb5013867733d80f9920
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
}
}

2
srcpkgs/libgdal/update Normal file
View File

@ -0,0 +1,2 @@
site=http://download.osgeo.org/gdal
pattern='\K[\d]+\.[\d]+\.[\d]+'