wok-next view argon2/receipt @ rev 21066
Switch some python packages to traditional build
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Dec 06 13:30:23 2018 +0200 (2018-12-06) |
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 }