wok annotate wipe/receipt @ rev 25556

created recipes for nted and nted-lang
author Hans-G?nter Theisgen
date Sat Apr 22 14:54:15 2023 +0100 (14 months ago)
parents 7dd01dedad38
children 29df00e1e19d
rev   line source
jozee@4950 1 # SliTaz package receipt.
jozee@4950 2
jozee@4950 3 PACKAGE="wipe"
slaxemulator@7721 4 VERSION="2.3.1"
jozee@4950 5 CATEGORY="misc"
jozee@4950 6 MAINTAINER="jozee@slitaz.org"
pascal@15363 7 LICENSE="GPL2"
jozee@4950 8 SHORT_DESC="A file and block device delete/erase utility - a secure rm"
pascal@25465 9 WEB_SITE="https://sourceforge.net/projects/wipe/"
jozee@4950 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@25465 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
jozee@4950 12 TAGS="delete"
jozee@4950 13
pascal@15363 14 DEPENDS="glibc-base"
pascal@15363 15
pascal@24353 16 # What is the latest version available today?
pascal@24353 17 current_version()
pascal@24353 18 {
pascal@24353 19 wget -O - https://sourceforge.net/projects/wipe/files/wipe/ 2>/dev/null | \
pascal@24353 20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24353 21 sed '/scope="row/!d;s|.*/wipe/||;s|/.*||;q'
pascal@24353 22 }
pascal@24353 23
jozee@4950 24 # Rules to configure and make the package.
pascal@15363 25 compile_rules()
pascal@15363 26 {
pascal@15363 27 cd $src
pascal@15363 28 ./configure --prefix=/usr $CONFIGURE_ARGS &&
pascal@15363 29 make &&
pascal@15363 30 make prefix=$DESTDIR/usr install
jozee@4950 31 }
jozee@4950 32
jozee@4950 33 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@4950 34 genpkg_rules()
jozee@4950 35 {
jozee@4950 36 mkdir -p $fs/usr
pascal@15363 37 cp -a $install/usr/bin $fs/usr
jozee@4950 38 }