summaryrefslogtreecommitdiff
path: root/repo/argon2
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-06-15 20:02:02 +0100
committerdavidovski <david@davidovski.xyz>2022-06-15 20:02:02 +0100
commitd2567bfbdf0e9fa6db0a6ed1534831ec859a3e03 (patch)
tree684a17eebf446aa1adab1097616f1882c8d51568 /repo/argon2
parentd1fc3393cca72e8e432f827f7624e38734fad6dc (diff)
added deps for qemu
Diffstat (limited to 'repo/argon2')
-rw-r--r--repo/argon2/argon2.xibuild22
1 files changed, 22 insertions, 0 deletions
diff --git a/repo/argon2/argon2.xibuild b/repo/argon2/argon2.xibuild
new file mode 100644
index 0000000..936794b
--- /dev/null
+++ b/repo/argon2/argon2.xibuild
@@ -0,0 +1,22 @@
+#!/bin/sh
+
+NAME="argon2"
+DESC="The password hash Argon2, winner of PHC"
+
+MAKEDEPS=""
+
+PKG_VER=20190702
+SOURCE="https://github.com/P-H-C/phc-winner-argon2/archive/$PKG_VER.tar.gz"
+
+build() {
+ make OPTTARGET=none ARGON2_VERSION=$PKG_VER
+}
+
+check() {
+ make OPTTARGET=none test
+}
+
+package() {
+ make OPTTARGET=none LIBRARY_REL=lib DESTDIR="$PKG_DEST" install
+}
+