wok-6.x annotate secure-delete/receipt @ rev 15111

libtdb: no more tdb.mk
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 14 21:01:32 2013 +0000 (2013-08-14)
parents b5d610d64d1c
children 3b4e4318134e
rev   line source
slaxemulator@7335 1 # SliTaz package receipt.
slaxemulator@7335 2
slaxemulator@7335 3 PACKAGE="secure-delete"
slaxemulator@7335 4 VERSION="3.1"
slaxemulator@7335 5 CATEGORY="misc"
slaxemulator@7335 6 SHORT_DESC="Secure file, disk, swap, memory erasure utilities."
slaxemulator@7335 7 MAINTAINER="slaxemulator@gmail.com"
slaxemulator@7335 8 DEPENDS="glibc-base"
slaxemulator@7335 9 SOURCE="secure_delete"
slaxemulator@7335 10 TARBALL="$SOURCE-$VERSION.tar.gz"
slaxemulator@7335 11 WEB_SITE="http://www.thc.org/"
slaxemulator@7335 12 WGET_URL="http://freeworld.thc.org/releases/$TARBALL"
slaxemulator@7335 13
slaxemulator@7335 14 # Rules to configure and make the package.
slaxemulator@7335 15 compile_rules()
slaxemulator@7335 16 {
slaxemulator@7335 17 cd $src
slaxemulator@7335 18 chmod u+w .
slaxemulator@7335 19 sed -ie 's/mktemp/mkstemp/g' sfill.c
slaxemulator@7335 20 sed -ie "s/sswap smem sdel-mod.o/sswap smem/" Makefile
pascal@8970 21 make -j1 &&
pascal@8970 22 make -j1 && make -j1 INSTALL_DIR=$PWD/_pkg/usr/bin install
slaxemulator@7335 23 chmod a+r $PWD/_pkg/usr/bin/*
slaxemulator@7335 24 }
slaxemulator@7335 25
slaxemulator@7335 26 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@7335 27 genpkg_rules()
slaxemulator@7335 28 {
slaxemulator@7335 29 mkdir -p $fs/usr
slaxemulator@7335 30 cp -a $_pkg/usr/bin $fs/usr
slaxemulator@7335 31 }
slaxemulator@7335 32