wok-next view argon2/receipt @ rev 20939

Fix brisk-menu, mate-backgrounds, mate-user-guide
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Aug 26 09:13:55 2018 +0300 (2018-08-26)
parents
children d2950281f122
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 BUILD_DEPENDS=""
15 SPLIT="argon2-dev"
17 compile_rules() {
18 # Make pkg-config file
19 cp $stuff/libargon2.pc .
20 sed -i "s|@VERSION@|$VERSION|" libargon2.pc
22 make OPTTARGET=none &&
23 make OPTTARGET=none DESTDIR=$install install &&
24 install -Dm644 libargon2.pc $install/usr/lib/pkgconfig/libargon2.pc
25 }
27 genpkg_rules() {
28 case $PACKAGE in
29 argon2) copy @std;;
30 *-dev) copy @dev;;
31 esac
32 }