wok-next annotate argon2/receipt @ rev 21360

guacamole: inserted fix libtool
author Hans-G?nter Theisgen
date Mon Apr 13 06:41:39 2020 +0100 (2020-04-13)
parents 29128929e4f9
children 1c1e3c80ce63
rev   line source
al@20894 1 # SliTaz package receipt v2.
al@20894 2
al@20894 3 PACKAGE="argon2"
al@21162 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@21162 12 WGET_URL="https://github.com/P-H-C/phc-winner-argon2/archive/$VERSION.tar.gz"
al@21162 13 TARBALL_SHA1="c398df55c8fffe70c9a952dd3f696115437234d8"
al@20894 14
al@21020 15 SPLIT="$PACKAGE-dev"
al@20894 16
al@20894 17 compile_rules() {
al@20894 18 # Make pkg-config file
al@21162 19 sed "s|@VERSION@|$VERSION|" $stuff/libargon2.pc >libargon2.pc
al@20894 20
al@20894 21 make OPTTARGET=none &&
al@20894 22 make OPTTARGET=none DESTDIR=$install install &&
al@21143 23 install -Dm644 libargon2.pc $install/usr/lib/pkgconfig/libargon2.pc || return 1
al@21143 24
al@21143 25 cook_pick_manpages man/argon2.1
al@21143 26 cook_pick_docs README.md argon2-specs.pdf
al@20894 27 }