wok-6.x annotate wipe/receipt @ rev 24617
updated libgphoto2 and libgphoto2-dev (2.5.24 -> 2.5.29)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 07 09:33:31 2022 +0100 (2022-03-07) |
parents | 2a21689b0af7 |
children | 7dd01dedad38 |
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" |
jozee@4950 | 9 WEB_SITE="http://wipe.sourceforge.net/" |
jozee@4950 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
jozee@4950 | 11 WGET_URL="http://downloads.sourceforge.net/$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 } |