wok-next annotate argon2/receipt @ rev 21143
Small updates.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jan 25 15:37:19 2019 +0200 (2019-01-25) |
parents | 82b613cfd1e0 |
children | 99837eb6967b |
rev | line source |
---|---|
al@20894 | 1 # SliTaz package receipt v2. |
al@20894 | 2 |
al@20894 | 3 PACKAGE="argon2" |
al@21143 | 4 COMMIT="6c8653c" |
al@21143 | 5 VERSION="20181109" |
al@20894 | 6 CATEGORY="security" |
al@20894 | 7 SHORT_DESC="Password-hashing function (reference C implementation)" |
al@20894 | 8 MAINTAINER="al.bobylev@gmail.com" |
al@20894 | 9 LICENSE="Apache" |
al@20894 | 10 WEB_SITE="https://github.com/P-H-C/phc-winner-argon2" |
al@20894 | 11 |
al@20894 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@21143 | 13 WGET_URL="https://github.com/P-H-C/phc-winner-argon2/archive/$COMMIT.tar.gz" |
al@21143 | 14 TARBALL_SHA1="48637563137fd0a3491637cae7571fe37b92d714" |
al@20894 | 15 |
al@21020 | 16 SPLIT="$PACKAGE-dev" |
al@20894 | 17 |
al@20894 | 18 compile_rules() { |
al@20894 | 19 # Make pkg-config file |
al@21143 | 20 sed -i "s|/@HOST_MULTIARCH@||; s|@UPSTREAM_VER@|$VERSION|" $src/libargon2.pc |
al@20894 | 21 |
al@20894 | 22 make OPTTARGET=none && |
al@20894 | 23 make OPTTARGET=none DESTDIR=$install install && |
al@21143 | 24 install -Dm644 libargon2.pc $install/usr/lib/pkgconfig/libargon2.pc || return 1 |
al@21143 | 25 |
al@21143 | 26 cook_pick_manpages man/argon2.1 |
al@21143 | 27 cook_pick_docs README.md argon2-specs.pdf |
al@20894 | 28 } |