wok view luksus/receipt @ rev 24520

updated ethtool (5.4 -> 5.16)
author Hans-G?nter Theisgen
date Tue Feb 22 15:25:07 2022 +0100 (2022-02-22)
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 }