wok annotate bcrypt/receipt @ rev 25422
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 17 07:09:31 2022 +0000 (2022-08-17) |
parents | cc6b64a4c196 |
children | 7dd01dedad38 |
rev | line source |
---|---|
erjo@4383 | 1 # SliTaz package receipt. |
erjo@4383 | 2 |
erjo@4383 | 3 PACKAGE="bcrypt" |
erjo@4383 | 4 VERSION="1.1" |
erjo@4383 | 5 CATEGORY="security" |
erjo@4383 | 6 SHORT_DESC="File encryption utility" |
erjo@4383 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15579 | 8 LICENSE="BSD" |
al@19275 | 9 WEB_SITE="http://bcrypt.sourceforge.net/" |
erjo@4383 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@4383 | 11 WGET_URL="http://bcrypt.sourceforge.net/${TARBALL}" |
jozee@4932 | 12 TAGS="encrypt" |
erjo@4383 | 13 |
pascal@15579 | 14 DEPENDS="zlib" |
pascal@15579 | 15 BUILD_DEPENDS="zlib-dev" |
pascal@15579 | 16 |
pascal@24353 | 17 # What is the latest version available today? |
pascal@24353 | 18 current_version() |
pascal@24353 | 19 { |
pascal@24353 | 20 wget -O - https://sourceforge.net/projects/bcrypt/files/bcrypt/ 2>/dev/null | \ |
pascal@24353 | 21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24353 | 22 sed '/scope="row/!d;s|.*/bcrypt/||;s|/.*||;q' |
pascal@24353 | 23 } |
pascal@24353 | 24 |
erjo@4383 | 25 # Rules to configure and make the package. |
erjo@4383 | 26 compile_rules() |
erjo@4383 | 27 { |
gokhlayeh@8615 | 28 make |
al@19275 | 29 |
al@19279 | 30 cook_pick_manpages bcrypt.1 |
erjo@4383 | 31 } |
erjo@4383 | 32 |
erjo@4383 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@4383 | 34 genpkg_rules() |
erjo@4383 | 35 { |
erjo@4383 | 36 mkdir -p $fs/usr/bin |
erjo@4383 | 37 cp -a $src/bcrypt $fs/usr/bin |
erjo@4383 | 38 } |