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