wok-next annotate 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
rev   line source
al@20894 1 # SliTaz package receipt v2.
al@20894 2
al@20894 3 PACKAGE="argon2"
al@20894 4 VERSION="20171227"
al@20894 5 CATEGORY="security"
al@20894 6 SHORT_DESC="Password-hashing function (reference C implementation)"
al@20894 7 MAINTAINER="al.bobylev@gmail.com"
al@20894 8 LICENSE="Apache"
al@20894 9 WEB_SITE="https://github.com/P-H-C/phc-winner-argon2"
al@20894 10
al@20894 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@20894 12 WGET_URL="https://github.com/P-H-C/phc-winner-argon2/archive/$VERSION/$TARBALL"
al@20894 13
al@21020 14 SPLIT="$PACKAGE-dev"
al@20894 15
al@20894 16 compile_rules() {
al@20894 17 # Make pkg-config file
al@20894 18 cp $stuff/libargon2.pc .
al@20894 19 sed -i "s|@VERSION@|$VERSION|" libargon2.pc
al@20894 20
al@20894 21 make OPTTARGET=none &&
al@20894 22 make OPTTARGET=none DESTDIR=$install install &&
al@20894 23 install -Dm644 libargon2.pc $install/usr/lib/pkgconfig/libargon2.pc
al@20894 24 }
al@20894 25
al@20894 26 genpkg_rules() {
al@20894 27 case $PACKAGE in
al@20894 28 argon2) copy @std;;
al@20894 29 *-dev) copy @dev;;
al@20894 30 esac
al@20894 31 }