wok-current annotate luksus/receipt @ rev 16796

Add luksus
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jul 04 12:17:56 2014 +0200 (2014-07-04)
parents
children aadee5047c4e
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@16796 14
pascal@16796 15 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@16796 16 genpkg_rules()
pascal@16796 17 {
pascal@16796 18 mkdir -p $fs/usr/bin $fs/usr/share/luksus
pascal@16796 19 cp -a $src/LUKSUS* $fs/usr/share/luksus
pascal@16796 20 cat > $fs/usr/bin/luksus <<EOT
pascal@16796 21 #!/bin/sh
pascal@16796 22
pascal@16796 23 cd /usr/share/luksus
pascal@16796 24 exec ./LUKSUS "$@"
pascal@16796 25 EOT
pascal@16796 26 chmod 755 $fs/usr/bin/luksus
pascal@16796 27 }