wok view secure-delete/receipt @ rev 8970

secure-delete: use make -j 1
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Mar 02 10:12:43 2011 +0100 (2011-03-02)
parents b5d610d64d1c
children 3b4e4318134e
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 }