wok view secure-delete/receipt @ rev 8187

imported patch toolchain/glibc-extra-samba.patch
author Antoine Bodin <gokhlayeh@slitaz.org>
date Thu Jan 27 00:20:50 2011 +0100 (2011-01-27)
parents
children 6ed57ad678f9
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 &&
22 make && make 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 }