From 6f13e59b1dd3f29b18acdbb5b6ee49743cd0b2c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Tempel?= Date: Fri, 19 Jan 2018 18:25:24 +0100 Subject: main/cryptsetup: depend on argon2 Upstream highly recommends this. --- main/argon2/APKBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 main/argon2/APKBUILD (limited to 'main/argon2') diff --git a/main/argon2/APKBUILD b/main/argon2/APKBUILD new file mode 100644 index 0000000000..b29b65a033 --- /dev/null +++ b/main/argon2/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: Sören Tempel +# Contributor: Corey Oliver +# Maintainer: Corey Oliver +pkgname=argon2 +_pkgname=phc-winner-argon2 +pkgver=20171227 +pkgrel=0 +pkgdesc="The password hash Argon2, winner of PHC" +url="https://github.com/P-H-C/phc-winner-argon2" +arch="all !armhf" +license="Apache-2.0 CC0-1.0" +subpackages="$pkgname-dev $pkgname-dev $pkgname-libs" +source="$pkgname-$pkgver.tar.gz::https://github.com/P-H-C/$_pkgname/archive/$pkgver.tar.gz" +builddir="$srcdir/$_pkgname-$pkgver" + +build() { + cd "$builddir" + make OPTTARGET=none +} + +check() { + cd "$builddir" + make OPTTARGET=none test +} + +package() { + cd "$builddir" + make OPTTARGET=none DESTDIR="$pkgdir" install +} + +sha512sums="9c9e1a3905e61ac6913d1e073c104477e419ddd0506adc4487e88e98d19165ed8901fe8bb11246ed0cc71b3523c190da9692d5926642f86be09c3e67510afe4d argon2-20171227.tar.gz" -- cgit v1.2.3