wok annotate secure-delete/receipt @ rev 25347
updated tcl and tcl-dev (8.6.10 -> 8.6.12)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jul 25 09:37:49 2022 +0100 (2022-07-25) |
parents | b9659e3c2111 |
children | 2155b2665e26 |
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" |
pascal@15593 | 8 LICENSE="MIT" |
slaxemulator@7335 | 9 SOURCE="secure_delete" |
slaxemulator@7335 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
slaxemulator@7335 | 11 WEB_SITE="http://www.thc.org/" |
pascal@24979 | 12 WGET_URL="http://deb.debian.org/debian/pool/main/s/$PACKAGE/${PACKAGE}_$VERSION.orig.tar.gz" |
slaxemulator@7335 | 13 |
pascal@15593 | 14 DEPENDS="glibc-base" |
pascal@15593 | 15 |
pascal@24545 | 16 # What is the latest version available today? |
pascal@24545 | 17 current_version() |
pascal@24545 | 18 { |
pascal@24545 | 19 wget -O - https://github.com/cryptisk-grs/thc-secure-delete/tags 2>/dev/null | \ |
pascal@24545 | 20 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' |
pascal@24545 | 21 } |
pascal@24545 | 22 |
slaxemulator@7335 | 23 # Rules to configure and make the package. |
slaxemulator@7335 | 24 compile_rules() |
slaxemulator@7335 | 25 { |
slaxemulator@7335 | 26 cd $src |
slaxemulator@7335 | 27 chmod u+w . |
slaxemulator@7335 | 28 sed -ie 's/mktemp/mkstemp/g' sfill.c |
slaxemulator@7335 | 29 sed -ie "s/sswap smem sdel-mod.o/sswap smem/" Makefile |
pascal@8970 | 30 make -j1 && |
pascal@15593 | 31 make -j1 && make -j1 INSTALL_DIR=$DESTDIR/usr/bin install |
pascal@15593 | 32 chmod a+r $DESTDIR/usr/bin/* |
slaxemulator@7335 | 33 } |
slaxemulator@7335 | 34 |
slaxemulator@7335 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7335 | 36 genpkg_rules() |
slaxemulator@7335 | 37 { |
slaxemulator@7335 | 38 mkdir -p $fs/usr |
pascal@15593 | 39 cp -a $install/usr/bin $fs/usr |
slaxemulator@7335 | 40 } |
slaxemulator@7335 | 41 |