wok annotate secure-delete/receipt @ rev 25494

Add finch & btop (thanks ceel)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 30 08:50:05 2022 +0000 (23 months ago)
parents d765616e1f3d
children
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"
pascal@25485 11 WEB_SITE="https://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