wok-next view argon2/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | d2950281f122 |
children | 82b613cfd1e0 |
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="$PACKAGE-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 }