# SliTaz package receipt. PACKAGE="wipe" VERSION="2.3.1" CATEGORY="misc" MAINTAINER="jozee@slitaz.org" LICENSE="GPL2" SHORT_DESC="A file and block device delete/erase utility - a secure rm" WEB_SITE="https://sourceforge.net/projects/wipe/" TARBALL="$PACKAGE-$VERSION.tar.bz2" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" TAGS="delete" DEPENDS="glibc-base" # What is the latest version available today? current_version() { wget -O - https://sourceforge.net/projects/wipe/files/wipe/ 2>/dev/null | \ sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ sed '/scope="row/!d;s|.*/wipe/||;s|/.*||;q' } # Rules to configure and make the package. compile_rules() { cd $src ./configure --prefix=/usr $CONFIGURE_ARGS && make && make prefix=$DESTDIR/usr install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr cp -a $install/usr/bin $fs/usr }