wok-stable view secure-delete/receipt @ rev 9618

Fixed tazdrop to us tazwok get-src slitaz-tools --target=src. This way its not downloading every time its build.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Apr 17 20:36:34 2011 +0000 (2011-04-17)
parents b5d610d64d1c
children
line source
1 # SliTaz package receipt.
3 PACKAGE="secure-delete"
4 VERSION="3.1"
5 CATEGORY="misc"
6 SHORT_DESC="Secure file, disk, swap, memory erasure utilities."
7 MAINTAINER="slaxemulator@gmail.com"
8 DEPENDS="glibc-base"
9 SOURCE="secure_delete"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.thc.org/"
12 WGET_URL="http://freeworld.thc.org/releases/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 chmod u+w .
19 sed -ie 's/mktemp/mkstemp/g' sfill.c
20 sed -ie "s/sswap smem sdel-mod.o/sswap smem/" Makefile
21 make -j1 &&
22 make -j1 && make -j1 INSTALL_DIR=$PWD/_pkg/usr/bin install
23 chmod a+r $PWD/_pkg/usr/bin/*
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $_pkg/usr/bin $fs/usr
31 }