wok view aescrypt/receipt @ rev 25604
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jul 18 17:30:47 2023 +0000 (16 months ago) |
parents | 3105f866bc3e |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="aescrypt"
4 VERSION="3.14"
5 CATEGORY="security"
6 SHORT_DESC="AES Crypt is a file encryption software."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="PublicDomain"
9 WEB_SITE="https://www.aescrypt.com/"
10 TARBALL="$PACKAGE-$VERSION.tgz"
11 WGET_URL="${WEB_SITE}download/v3/linux/$TARBALL"
13 DEPENDS="glibc-base"
15 # What is the latest version available today?
16 current_version()
17 {
18 wget -O - https://www.aescrypt.com/download/ 2>/dev/null | \
19 sed '/linux/!d;/[0-9].tgz/!d;s|.*aescrypt-||;s|.tgz.*||;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 cd $src/src
26 make
28 cook_pick_manpages $src/man/aescrypt.1
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/bin
35 cp -a $src/src/aescrypt $fs/usr/bin
36 cp -a $src/src/aescrypt_keygen $fs/usr/bin
37 }