aboutsummaryrefslogtreecommitdiffstats
path: root/community/librttopo/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/librttopo/APKBUILD')
-rw-r--r--community/librttopo/APKBUILD43
1 files changed, 43 insertions, 0 deletions
diff --git a/community/librttopo/APKBUILD b/community/librttopo/APKBUILD
new file mode 100644
index 0000000000..036d0588c4
--- /dev/null
+++ b/community/librttopo/APKBUILD
@@ -0,0 +1,43 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=librttopo
+pkgver=1.1.0
+pkgrel=0
+pkgdesc="RT Topology Library"
+url="https://git.osgeo.org/gitea/rttopo/librttopo"
+# s390x and mips64 blocked by geos
+arch="all !s390x !mips64"
+license="GPL-2.0-or-later"
+depends_dev="
+ geos-dev
+ "
+makedepends="$depends_dev
+ autoconf
+ automake
+ libtool
+ "
+subpackages="$pkgname-dev"
+source="https://git.osgeo.org/gitea/rttopo/librttopo/archive/librttopo-$pkgver.tar.gz"
+builddir="$srcdir/$pkgname"
+
+build() {
+ ./autogen.sh
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ make check
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="624c2aeff16737d0bec28f8b38427351a3af20658a077d280a1b2422697419394f36832db9459bf25c7d699bc002eaec499dcbd65bca7d2b3f8b92e78650dea3 librttopo-1.1.0.tar.gz"