wok-current view luksus/receipt @ rev 25713
Up abiword (3.0.5), libwmf (0.2.13), fix wv url
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Jun 14 11:35:21 2024 +0000 (2 months ago) |
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 }