wok annotate hashalot/receipt @ rev 9610

bash: Fixed bash pre_remove function to work with --root in tazpkg.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Apr 15 14:55:42 2011 +0000 (2011-04-15)
parents
children de49f29b101e
rev   line source
pascal@3637 1 # SliTaz package receipt.
pascal@3637 2
pascal@3637 3 PACKAGE="hashalot"
pascal@3637 4 VERSION="0.3"
pascal@3637 5 CATEGORY="system-tools"
pascal@3637 6 SHORT_DESC="Passphrase to binary key filter."
pascal@3637 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@3637 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@3637 9 WEB_SITE="http://www.paranoiacs.org/~sluskyb/hacks/hashalot"
pascal@3637 10 WGET_URL="$WEB_SITE/$TARBALL"
pascal@3637 11
pascal@3637 12 # Rules to configure and make the package.
pascal@3637 13 compile_rules()
pascal@3637 14 {
pascal@3637 15 cd $src
pascal@3637 16 ./configure --prefix=/usr $CONFIGURE_ARGS &&
pascal@3637 17 make &&
pascal@3637 18 make DESTDIR=$PWD/_pkg install
pascal@3637 19 }
pascal@3637 20
pascal@3637 21 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@3637 22 genpkg_rules()
pascal@3637 23 {
pascal@3637 24 mkdir -p $fs/usr
pascal@3637 25 cp -a $_pkg/usr/sbin $fs/usr
pascal@3637 26 }