41 lines
1.1 KiB
Bash
41 lines
1.1 KiB
Bash
# Template file for 'libgdal'
|
|
pkgname=libgdal
|
|
version=2.3.0
|
|
revision=1
|
|
wrksrc=gdal-${version}
|
|
build_style=gnu-configure
|
|
hostmakedepends="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 geos-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=6f75e49aa30de140525ccb58688667efe3a2d770576feb7fbc91023b7f552aa2
|
|
|
|
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
|
|
}
|
|
}
|