aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-08-01 07:18:39 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-08-01 07:34:35 -0300
commit6dea2fc511ed6636ef2f67328566e65c73cbc63f (patch)
tree4035eaeaeaf60b22eecc25b91081c10b31640db8
parent9d7cb33b0c8b039f9734b32f9d7a6fad37f25f2f (diff)
downloadaports-6dea2fc511ed6636ef2f67328566e65c73cbc63f.tar.gz
aports-6dea2fc511ed6636ef2f67328566e65c73cbc63f.tar.bz2
aports-6dea2fc511ed6636ef2f67328566e65c73cbc63f.tar.xz
testing/libb2: new aport
https://blake2.net/ C library providing BLAKE2b, BLAKE2s, BLAKE2bp, BLAKE2sp
-rw-r--r--testing/libb2/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/testing/libb2/APKBUILD b/testing/libb2/APKBUILD
new file mode 100644
index 0000000000..76b5549b0e
--- /dev/null
+++ b/testing/libb2/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: Leo <thinkabit.ukim@gmail.com>
+# Maintainer: Leo <thinkabit.ukim@gmail.com>
+pkgname=libb2
+pkgver=0.98.1
+pkgrel=0
+pkgdesc="C library providing BLAKE2b, BLAKE2s, BLAKE2bp, BLAKE2sp"
+url="https://blake2.net/"
+arch="all"
+license="CC0-1.0"
+subpackages="$pkgname-dev"
+source="https://github.com/BLAKE2/libb2/releases/download/v$pkgver/libb2-$pkgver.tar.gz"
+
+build() {
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --disable-static
+ make
+}
+
+check() {
+ make check
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="e760972173bb9ff3562843882abbe9042af09da63f37a5706921381be2d64cc4d333aec65e1e676d5a45ace913417536a1dc188c90b394c2f7b9cae654dbb108 libb2-0.98.1.tar.gz"