libgdal: move gdal-config to -devel pkg.

This commit is contained in:
maxice8 2018-11-19 00:48:19 -02:00 committed by maxice8
parent 0d5da6cf6e
commit 83da50a2d2

View File

@ -1,7 +1,7 @@
# Template file for 'libgdal' # Template file for 'libgdal'
pkgname=libgdal pkgname=libgdal
version=2.3.2 version=2.3.2
revision=4 revision=5
wrksrc="gdal-${version}" wrksrc="gdal-${version}"
build_style=gnu-configure build_style=gnu-configure
configure_args="--with-liblzma --with-poppler" configure_args="--with-liblzma --with-poppler"
@ -15,6 +15,7 @@ license="MIT"
homepage="http://www.gdal.org/" homepage="http://www.gdal.org/"
distfiles="http://download.osgeo.org/gdal/${version}/gdal-${version}.tar.xz" distfiles="http://download.osgeo.org/gdal/${version}/gdal-${version}.tar.xz"
checksum=3f6d78fe8807d1d6afb7bed27394f19467840a82bc36d65e66316fa0aa9d32a4 checksum=3f6d78fe8807d1d6afb7bed27394f19467840a82bc36d65e66316fa0aa9d32a4
subpackages="libgdal-devel libgdal-tools"
pre_build() { pre_build() {
find frmts/pdf -type f | xargs sed -e 's|GBool|bool|g' -e 's|gFalse|false|g' -i find frmts/pdf -type f | xargs sed -e 's|GBool|bool|g' -e 's|gFalse|false|g' -i
@ -37,6 +38,7 @@ libgdal-devel_package() {
depends="${sourcepkg}>=${version}_${revision}" depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files" short_desc+=" - development files"
pkg_install() { pkg_install() {
vmove usr/bin/gdal-config
vmove usr/include vmove usr/include
vmove usr/lib/pkgconfig vmove usr/lib/pkgconfig
vmove usr/lib/*.a vmove usr/lib/*.a