wok view bcrypt/receipt @ rev 25476
Up foomatic-db-nonfree (20221012)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Oct 13 16:28:13 2022 +0000 (2022-10-13) |
parents | 7dd01dedad38 |
children | 6b33f9da53d4 |
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="https://bcrypt.sourceforge.net/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://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 }