wok annotate luksus/receipt @ rev 20320

merge
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 20 13:29:24 2018 +0200 (2018-05-20)
parents 0f57834c87d1
children 5ea0ce1cecc0
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@16796 16 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@16796 17 genpkg_rules()
pascal@16796 18 {
pascal@16796 19 mkdir -p $fs/usr/bin $fs/usr/share/luksus
pascal@16796 20 cp -a $src/LUKSUS* $fs/usr/share/luksus
pascal@16796 21 cat > $fs/usr/bin/luksus <<EOT
pascal@16796 22 #!/bin/sh
pascal@16796 23
pascal@16796 24 cd /usr/share/luksus
pascal@16796 25 exec ./LUKSUS "$@"
pascal@16796 26 EOT
pascal@16796 27 chmod 755 $fs/usr/bin/luksus
pascal@16796 28 }