wok-current annotate aescrypt/receipt @ rev 25483
created recipe for py3k-six
author | Hans-G?nter Theisgen |
---|---|
date | Mon Oct 17 07:54:33 2022 +0100 (2022-10-17) |
parents | 5129bb14f627 |
children |
rev | line source |
---|---|
slaxemulator@7444 | 1 # SliTaz package receipt. |
slaxemulator@7444 | 2 |
slaxemulator@7444 | 3 PACKAGE="aescrypt" |
erkan@22394 | 4 VERSION="3.14" |
slaxemulator@7444 | 5 CATEGORY="security" |
slaxemulator@7444 | 6 SHORT_DESC="AES Crypt is a file encryption software." |
slaxemulator@7444 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15201 | 8 LICENSE="PublicDomain" |
al@19275 | 9 WEB_SITE="https://www.aescrypt.com/" |
al@19275 | 10 TARBALL="$PACKAGE-$VERSION.tgz" |
al@19275 | 11 WGET_URL="${WEB_SITE}download/v3/linux/$TARBALL" |
al@19275 | 12 |
slaxemulator@7444 | 13 DEPENDS="glibc-base" |
slaxemulator@7444 | 14 |
pascal@24353 | 15 # What is the latest version available today? |
pascal@24353 | 16 current_version() |
pascal@24353 | 17 { |
pascal@24353 | 18 wget -O - https://www.aescrypt.com/download/ 2>/dev/null | \ |
pascal@24353 | 19 sed '/[0-9].tgz/!d;s|.*aescrypt-||;s|.tgz.*||;q' |
pascal@24353 | 20 } |
pascal@24353 | 21 |
slaxemulator@7444 | 22 # Rules to configure and make the package. |
slaxemulator@7444 | 23 compile_rules() |
slaxemulator@7444 | 24 { |
erkan@18720 | 25 cd $src/src |
slaxemulator@7444 | 26 make |
al@19264 | 27 |
al@19275 | 28 cook_pick_manpages $src/man/aescrypt.1 |
slaxemulator@7444 | 29 } |
slaxemulator@7444 | 30 |
slaxemulator@7444 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7444 | 32 genpkg_rules() |
slaxemulator@7444 | 33 { |
slaxemulator@7444 | 34 mkdir -p $fs/usr/bin |
erkan@18721 | 35 cp -a $src/src/aescrypt $fs/usr/bin |
erkan@18721 | 36 cp -a $src/src/aescrypt_keygen $fs/usr/bin |
slaxemulator@7444 | 37 } |