wok-current view aescrypt/receipt @ rev 25685
Add checkspace / fetchall feature for tazpkg
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Mar 14 20:28:39 2024 +0000 (8 months ago) |
parents | 5129bb14f627 |
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 '/[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 }