aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lazperf
diff options
context:
space:
mode:
authorBradley J Chambers <brad.chambers@gmail.com>2017-08-02 15:09:10 -0400
committerTimo Teräs <timo.teras@iki.fi>2017-08-29 08:28:26 +0000
commitb13edd5722ed3f5e424cbfb538cb5934846ca6a2 (patch)
tree9e032cef519925fe5f320006e2c3b6bb0263d1e6 /testing/lazperf
parente235329df8a1b9b4d025cbafb622346961ae9312 (diff)
downloadaports-b13edd5722ed3f5e424cbfb538cb5934846ca6a2.tar.bz2
aports-b13edd5722ed3f5e424cbfb538cb5934846ca6a2.tar.xz
testing/lazperf: new aport
https://github.com/hobu/laz-perf Alternative LAZ implementation for C++ and JavaScript
Diffstat (limited to 'testing/lazperf')
-rw-r--r--testing/lazperf/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/lazperf/APKBUILD b/testing/lazperf/APKBUILD
new file mode 100644
index 0000000000..94d1e51f86
--- /dev/null
+++ b/testing/lazperf/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: Bradley J Chambers <brad.chambers@gmail.com>
+# Maintainer: Bradley J Chambers <brad.chambers@gmail.com>
+pkgname=laz-perf
+pkgver=1.1.0
+pkgrel=0
+pkgdesc="Alternative LAZ implementation for C++ and JavaScript"
+url="https://github.com/hobu/laz-perf"
+arch="all"
+license="LGPL2+"
+makedepends="cmake"
+install=""
+subpackages="$pkgname-dev"
+source="$pkgname-$pkgver.tar.gz::https://github.com/hobu/$pkgname/archive/$pkgver.tar.gz"
+builddir="$srcdir/$pkgname-$pkgver"
+
+build() {
+ cd "$builddir"
+
+ mkdir build && cd build
+ cmake .. \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DWITH_TESTS=ON
+ make
+}
+
+check() {
+ cd "$builddir"/build
+ make test
+}
+
+package() {
+ cd "$builddir"/build
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="6cc52458508dd0375a5ae1d123cd1d7640f06f47f10c35c2a2260c1edb1e755b533621a1b3e21492737c1fb20adc39e04f6767380c320653b76f2d168f4a106c laz-perf-1.1.0.tar.gz"