aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/readosm/APKBUILD12
1 files changed, 10 insertions, 2 deletions
diff --git a/testing/readosm/APKBUILD b/testing/readosm/APKBUILD
index f77c7e369f..9cc32873f2 100644
--- a/testing/readosm/APKBUILD
+++ b/testing/readosm/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Bjoern Schilberg <bjoern@intevation.de>
pkgname=readosm
pkgver=1.1.0
-pkgrel=0
+pkgrel=1
pkgdesc="Library to extract valid data from an Open Street Map input file."
url="https://www.gaia-gis.it/fossil/readosm/index"
arch="all"
@@ -14,9 +14,17 @@ install=""
subpackages="$pkgname-dev"
source="http://www.gaia-gis.it/gaia-sins/$pkgname-$pkgver.tar.gz"
+prepare() {
+ default_prepare
+ update_config_sub
+}
+
build() {
cd "$builddir"
- ./configure --prefix /usr
+ ./configure \
+ --host=$CHOST \
+ --build=$CBUILD \
+ --prefix /usr
make
}