wok-current view secure-delete/receipt @ rev 25268
xorg-cf-files/Imake.tmpl: update ArCmd
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 17 14:59:20 2022 +0000 (2022-07-17) |
parents | b9659e3c2111 |
children | 2155b2665e26 |
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://deb.debian.org/debian/pool/main/s/$PACKAGE/${PACKAGE}_$VERSION.orig.tar.gz"
14 DEPENDS="glibc-base"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://github.com/cryptisk-grs/thc-secure-delete/tags 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 chmod u+w .
28 sed -ie 's/mktemp/mkstemp/g' sfill.c
29 sed -ie "s/sswap smem sdel-mod.o/sswap smem/" Makefile
30 make -j1 &&
31 make -j1 && make -j1 INSTALL_DIR=$DESTDIR/usr/bin install
32 chmod a+r $DESTDIR/usr/bin/*
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr
39 cp -a $install/usr/bin $fs/usr
40 }