Created
September 3, 2015 20:33
-
-
Save squeaky-pl/85593bfb104ce67b31f2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Contributor: squeaky <[email protected]> | |
# Maintainer: | |
pkgname=gdal | |
pkgver=1.11.2 | |
pkgrel=0 | |
pkgdesc="GDAL - Geospatial Data Abstraction Library" | |
url="http://gdal.org/" | |
arch="all" | |
license="MIT" | |
depends="" | |
depends_dev="perl" | |
makedepends="$depends_dev" | |
install="" | |
subpackages="" | |
source="http://download.osgeo.org/gdal/1.11.2/gdal-1.11.2.tar.xz" | |
_builddir="$srcdir"/gdal-$pkgver | |
prepare() { | |
local i | |
cd "$_builddir" | |
for i in $source; do | |
case $i in | |
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; | |
esac | |
done | |
update_config_sub || return 1 | |
} | |
build() { | |
cd "$_builddir" | |
./configure \ | |
--build=$CBUILD \ | |
--host=$CHOST \ | |
--prefix=/usr \ | |
|| return 1 | |
make || return 1 | |
} | |
package() { | |
cd "$_builddir" | |
make DESTDIR="$pkgdir" install || return 1 | |
rm -f "$pkgdir"/usr/lib/*.la | |
} | |
/bin/ash /home/squeaky/aports/testing/gdal/src/gdal-1.11.2/libtool --mode=finish --silent /home/squeaky/aports/testing/gdal/pkg/gdal/usr/lib | |
/home/squeaky/aports/testing/gdal/src/gdal-1.11.2/install-sh -d /home/squeaky/aports/testing/gdal/pkg/gdal/usr/lib/pkgconfig | |
/home/squeaky/aports/testing/gdal/src/gdal-1.11.2/install-sh -c -m 0644 gdal.pc /home/squeaky/aports/testing/gdal/pkg/gdal/usr/lib/pkgconfig/gdal.pc | |
>>> gdal*: Running postcheck for gdal | |
>>> gdal*: Preparing package gdal... | |
>>> gdal*: Stripping binaries | |
>>> gdal*: Scanning shared objects | |
>>> gdal*: Tracing dependencies... | |
>>> gdal*: added pkgconfig (found /usr/lib/pkgconfig) | |
>>> ERROR: gdal*: create_apks failed | |
>>> ERROR: gdal: all failed | |
>>> gdal: Uninstalling dependencies... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment