wok-6.x diff secure-delete/receipt @ rev 8845
subersion: fix DEPENDS (based on last pkg from tank)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Feb 25 01:27:30 2011 +0100 (2011-02-25) |
parents | |
children | 6ed57ad678f9 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/secure-delete/receipt Fri Feb 25 01:27:30 2011 +0100 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 +