summaryrefslogtreecommitdiff
path: root/repo/argon2/argon2.xibuild
blob: 936794b67e70dd797a4877e6565fd936d5806708 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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
}