diff options
-rw-r--r-- | testing/gdal/APKBUILD | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/testing/gdal/APKBUILD b/testing/gdal/APKBUILD index 037dcde9fc..b8a4c7ad92 100644 --- a/testing/gdal/APKBUILD +++ b/testing/gdal/APKBUILD @@ -17,8 +17,9 @@ builddir="$srcdir/$pkgname-$pkgver" build() { cd "$builddir" - ./configure --prefix=/usr || return 1 - make || return 1 + ./configure --prefix=/usr \ + --with-curl=/usr/bin/curl-config + make cd swig/python python2 setup.py build @@ -27,7 +28,7 @@ build() { package() { cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install chmod -x "$pkgdir"/usr/include/*.h } @@ -35,7 +36,7 @@ py() { pkgdesc="$pkgname (python bindings)" cd "$builddir"/swig/python - python2 setup.py install --prefix=/usr --root="$subpkgdir" || return 1 + python2 setup.py install --prefix=/usr --root="$subpkgdir" chmod a+x scripts/* install -d "$subpkgdir"/usr/bin |