aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libbloom/APKBUILD
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-06-06 12:56:03 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-06-07 06:04:37 -0300
commit70ee824b277429c6e3a3fd0843b6e1afa48f2b42 (patch)
treee51df0b31f4237df5c5585678eab0758ca936551 /testing/libbloom/APKBUILD
parente4b87547856ba9c9cbb377f7bbb1ebcd67ab568d (diff)
downloadaports-70ee824b277429c6e3a3fd0843b6e1afa48f2b42.tar.bz2
aports-70ee824b277429c6e3a3fd0843b6e1afa48f2b42.tar.xz
testing/libbloom: new aport
Simple and small bloom filter in plain C https://github.com/jvirkki/libbloom
Diffstat (limited to 'testing/libbloom/APKBUILD')
-rw-r--r--testing/libbloom/APKBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/testing/libbloom/APKBUILD b/testing/libbloom/APKBUILD
new file mode 100644
index 0000000000..f834347961
--- /dev/null
+++ b/testing/libbloom/APKBUILD
@@ -0,0 +1,27 @@
+# Contributor: Leo <thinkabit.ukim@gmail.com>
+# Maintainer: Leo <thinkabit.ukim@gmail.com>
+pkgname=libbloom
+pkgver=1.6
+pkgrel=0
+pkgdesc="Simple and small bloom filter in plain C"
+url="https://github.com/jvirkki/libbloom"
+arch="all"
+license="BSD-2-Clause"
+subpackages="$pkgname-dev"
+source="$pkgname-$pkgver.tar.gz::https://github.com/jvirkki/libbloom/archive/v$pkgver.tar.gz"
+
+build() {
+ make MM=" "
+}
+
+check() {
+ make MM=" " test
+}
+
+package() {
+ install -Dm644 bloom.h "$pkgdir"/usr/include/bloom.h
+ install -Dm755 build/libbloom.so.$pkgver "$pkgdir"/usr/lib/libbloom.so.$pkgver
+ ln -s libbloom.so.$pkgver "$pkgdir"/usr/lib/libbloom.so
+}
+
+sha512sums="3dd4343d68def05800dd6ffc5a05b05d0702a8c0c9f0a397f105d4389c88a7bffa419734aeb4fa4e1a2c418b12a8192fa27ddcbaeee72906450d64cbfd64db15 libbloom-1.6.tar.gz"