blob: 388f0e59d71fbfd8530739772913fbe2af4c8208 (
plain)
1 # Description: The password hash Argon2
2 # URL: https://github.com/P-H-C/phc-winner-argon2
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on:
5
6 name=argon2
7 version=20190702
8 release=1
9 source=(https://github.com/P-H-C/phc-winner-argon2/archive/$version/phc-winner-argon2-$version.tar.gz)
10
11 build() {
12 cd phc-winner-$name-$version
13 # install to /usr/lib directly instead of /usr/lib/x86_64-linux-gnu
14 sed -e 's/LIBRARY_REL ?= lib\/x86_64-linux-gnu/LIBRARY_REL ?= lib/g' -i Makefile
15 make
16 make DESTDIR=$PKG install
17 sed -e 's/NULL/$version/g' -i $PKG/usr/lib/pkgconfig/libargon2.pc
18 }
|