wok-next view argon2/receipt @ rev 20990
Remove mate116 stash
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 02 22:23:34 2018 +0300 (2018-10-02) |
parents | 41860cbdf043 |
children | d5aab818505e |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="argon2"
4 VERSION="20171227"
5 CATEGORY="security"
6 SHORT_DESC="Password-hashing function (reference C implementation)"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="Apache"
9 WEB_SITE="https://github.com/P-H-C/phc-winner-argon2"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/P-H-C/phc-winner-argon2/archive/$VERSION/$TARBALL"
14 SPLIT="argon2-dev"
16 compile_rules() {
17 # Make pkg-config file
18 cp $stuff/libargon2.pc .
19 sed -i "s|@VERSION@|$VERSION|" libargon2.pc
21 make OPTTARGET=none &&
22 make OPTTARGET=none DESTDIR=$install install &&
23 install -Dm644 libargon2.pc $install/usr/lib/pkgconfig/libargon2.pc
24 }
26 genpkg_rules() {
27 case $PACKAGE in
28 argon2) copy @std;;
29 *-dev) copy @dev;;
30 esac
31 }