aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjoern Schilberg <bjoern@intevation.de>2018-05-22 20:50:28 +0200
committerLeonardo Arena <rnalrd@alpinelinux.org>2018-07-17 14:23:03 +0000
commit8ec516cc3fe6f392fe41a3ac318fe7e47486c325 (patch)
treec7a9820a5fbc5af8501fcb62689f079e794dc2a8
parent63db83036528457bdf82a167945872ac695df357 (diff)
downloadaports-8ec516cc3fe6f392fe41a3ac318fe7e47486c325.tar.bz2
aports-8ec516cc3fe6f392fe41a3ac318fe7e47486c325.tar.xz
testing/readosm: new aport
Library to extract valid data from an Open Street Map input file
-rw-r--r--testing/readosm/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/testing/readosm/APKBUILD b/testing/readosm/APKBUILD
new file mode 100644
index 0000000000..f77c7e369f
--- /dev/null
+++ b/testing/readosm/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
+# Maintainer: Bjoern Schilberg <bjoern@intevation.de>
+pkgname=readosm
+pkgver=1.1.0
+pkgrel=0
+pkgdesc="Library to extract valid data from an Open Street Map input file."
+url="https://www.gaia-gis.it/fossil/readosm/index"
+arch="all"
+license="MPL-1.1 GPL-2.0-only LGPL-2.1-only"
+depends="expat zlib"
+depends_dev="expat-dev zlib-dev"
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-dev"
+source="http://www.gaia-gis.it/gaia-sins/$pkgname-$pkgver.tar.gz"
+
+build() {
+ cd "$builddir"
+ ./configure --prefix /usr
+ make
+}
+
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+ rm -rf "$pkgdir"/usr/share/
+}
+sha512sums="d3581f564c4461c6a1a3d5fd7d18a262c884b2ac935530064bfaebd6c05d692fb92cc600fb40e87e03f7160ebf0eeeb05f51a0e257935d056b233fe28fc01a11 readosm-1.1.0.tar.gz"