aboutsummaryrefslogtreecommitdiffstats
path: root/community/librasterlite2/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/librasterlite2/APKBUILD')
-rw-r--r--community/librasterlite2/APKBUILD58
1 files changed, 58 insertions, 0 deletions
diff --git a/community/librasterlite2/APKBUILD b/community/librasterlite2/APKBUILD
new file mode 100644
index 0000000000..885af989fb
--- /dev/null
+++ b/community/librasterlite2/APKBUILD
@@ -0,0 +1,58 @@
+# Contributor: Holger Jaekel <holger.jaekel@gmx.de>
+# Maintainer: Holger Jaekel <holger.jaekel@gmx.de>
+pkgname=librasterlite2
+pkgver=1.1.0b1
+_pkgver="${pkgver//b1/-beta1}"
+pkgrel=2
+pkgdesc="Library for storing and retrieving huge raster coverages using a SpatiaLite DBMS"
+url="https://www.gaia-gis.it/fossil/librasterlite2/index"
+arch="x86_64 x86" # tests fail
+license="MPL-1.1"
+makedepends="
+ cairo-dev
+ curl-dev
+ giflib-dev
+ libgeotiff-dev
+ libjpeg-turbo-dev
+ libpng-dev
+ libspatialite-dev
+ libwebp-dev
+ libxml2-dev
+ lz4-dev
+ minizip-dev
+ openjpeg-dev
+ proj-dev
+ sqlite-dev
+ tiff-dev
+ xz-dev
+ zstd-dev
+ "
+subpackages="$pkgname-dev"
+source="
+ http://www.gaia-gis.it/gaia-sins/librasterlite2-sources/librasterlite2-$_pkgver.tar.gz
+ 10-musl.patch
+ 20-skip-tests.patch
+ "
+builddir=$srcdir/$pkgname-$_pkgver
+
+build() {
+ ./configure \
+ --prefix=/usr \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --disable-static \
+ --disable-charls # broken build with charls 2.1.0
+ make
+}
+
+check() {
+ make check
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="49b3ba51ab895006736f027ac380d47af806c48ffe0769727bb7e57b4b4f3c93bc24a9a13264bf5b6a15a89be28312ed2170de1978e44a876814ad1849c90b6f librasterlite2-1.1.0-beta1.tar.gz
+86b3f314cb664a456efd887e09e9cce0bad844d78f07bce747234d6f5cafd0f8d51fc899b242402d3babdbaca5db705be456fd0d212b8fab5b87cb2a871a6233 10-musl.patch
+dafa537a8048d5a4a98630db8d5a1e0b8c1fa0c8b259b49f391c460fd69c68f44d6fb77daa7480754dc443325309e0fb7b7441e2726558d6f1d035f8cf1e3bb3 20-skip-tests.patch"