wok-6.x diff secure-delete/receipt @ rev 8001

Made libtaz, tazchroot, and tazwok-experimental save source as PACKAGE-VERSION.tar.gz instead of VERSION.tar.gz.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Jan 18 12:21:11 2011 +0000 (2011-01-18)
parents
children 6ed57ad678f9
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/secure-delete/receipt	Tue Jan 18 12:21:11 2011 +0000
     1.3 @@ -0,0 +1,32 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="secure-delete"
     1.7 +VERSION="3.1"
     1.8 +CATEGORY="misc"
     1.9 +SHORT_DESC="Secure file, disk, swap, memory erasure utilities."
    1.10 +MAINTAINER="slaxemulator@gmail.com"
    1.11 +DEPENDS="glibc-base"
    1.12 +SOURCE="secure_delete"
    1.13 +TARBALL="$SOURCE-$VERSION.tar.gz"
    1.14 +WEB_SITE="http://www.thc.org/"
    1.15 +WGET_URL="http://freeworld.thc.org/releases/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +	chmod u+w .
    1.22 +	sed -ie 's/mktemp/mkstemp/g' sfill.c
    1.23 +	sed -ie "s/sswap smem sdel-mod.o/sswap smem/" Makefile
    1.24 +	make &&
    1.25 +	make && make INSTALL_DIR=$PWD/_pkg/usr/bin install
    1.26 +	chmod a+r $PWD/_pkg/usr/bin/*
    1.27 +}
    1.28 +
    1.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.30 +genpkg_rules()
    1.31 +{
    1.32 +	mkdir -p $fs/usr
    1.33 +	cp -a $_pkg/usr/bin $fs/usr
    1.34 +}
    1.35 +