wok-next view secure-delete/receipt @ rev 20220
Up yp-tools (4.2.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Nov 05 13:31:36 2017 +0100 (2017-11-05) |
parents | 6ed57ad678f9 |
children | d5aab818505e |
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 LICENSE="MIT"
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 DEPENDS="glibc-base"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 chmod u+w .
21 sed -ie 's/mktemp/mkstemp/g' sfill.c
22 sed -ie "s/sswap smem sdel-mod.o/sswap smem/" Makefile
23 make -j1 &&
24 make -j1 && make -j1 INSTALL_DIR=$DESTDIR/usr/bin install
25 chmod a+r $DESTDIR/usr/bin/*
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 cp -a $install/usr/bin $fs/usr
33 }