wok view bcrypt/receipt @ rev 24924

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