wok-current view secure-delete/receipt @ rev 18410

open-vm-tools: more attempts to get linux64 build to work on cooker
author Nathan Neulinger <nneul@neulinger.org>
date Sat Sep 19 15:44:21 2015 +0000 (2015-09-19)
parents 6ed57ad678f9
children b9659e3c2111
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 }