wok annotate luksus/receipt @ rev 24596

updated gftp (2.0.19 -> 2.9.1b)
author Hans-G?nter Theisgen
date Tue Mar 01 15:53:52 2022 +0100 (2022-03-01)
parents 5ea0ce1cecc0
children
rev   line source
pascal@16796 1 # SliTaz package receipt.
pascal@16796 2
pascal@16796 3 PACKAGE="luksus"
pascal@16796 4 VERSION="1.6"
pascal@16796 5 CATEGORY="system-tools"
pascal@16796 6 SHORT_DESC="Command line encryption management tool."
pascal@16796 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@16796 8 LICENSE="GPL2"
pascal@16796 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@16796 10 WEB_SITE="https://github.com/thomasfrivold/luksus"
pascal@16796 11 WGET_URL="https://github.com/thomasfrivold/luksus/archive/v$VERSION.tar.gz"
pascal@16796 12
pascal@16796 13 DEPENDS="bash dialog cryptsetup tcplay gnupg openssl"
pascal@16798 14 BUILD_DEPENDS="wget"
pascal@16796 15
pascal@24055 16 current_version()
pascal@24055 17 {
pascal@24299 18 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
pascal@24055 19 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
pascal@24055 20 }
pascal@24055 21
pascal@16796 22 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@16796 23 genpkg_rules()
pascal@16796 24 {
pascal@16796 25 mkdir -p $fs/usr/bin $fs/usr/share/luksus
pascal@16796 26 cp -a $src/LUKSUS* $fs/usr/share/luksus
pascal@16796 27 cat > $fs/usr/bin/luksus <<EOT
pascal@16796 28 #!/bin/sh
pascal@16796 29
pascal@16796 30 cd /usr/share/luksus
pascal@16796 31 exec ./LUKSUS "$@"
pascal@16796 32 EOT
pascal@16796 33 chmod 755 $fs/usr/bin/luksus
pascal@16796 34 }