wok annotate scrub/receipt @ rev 25632
Up gtklife (5.3)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Dec 23 14:06:29 2023 +0000 (11 months ago) |
parents | 5ea0ce1cecc0 |
children |
rev | line source |
---|---|
slaxemulator@7820 | 1 # SliTaz package receipt. |
slaxemulator@7820 | 2 |
slaxemulator@7820 | 3 PACKAGE="scrub" |
Hans-G?nter@21894 | 4 VERSION="2.6.1" |
slaxemulator@7820 | 5 CATEGORY="security" |
slaxemulator@7820 | 6 SHORT_DESC="Iteratively writes patterns on files or disk devices to make retreiving the data more difficult." |
slaxemulator@7820 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15587 | 8 LICENSE="GPL2" |
pascal@20679 | 9 WEB_SITE="https://github.com/chaos/scrub" |
Hans-G?nter@21894 | 10 |
Hans-G?nter@21894 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@21894 | 12 WGET_URL="$WEB_SITE/releases/download/$VERSION/$TARBALL" |
slaxemulator@7820 | 13 |
pascal@15587 | 14 DEPENDS="" |
pascal@15587 | 15 BUILD_DEPENDS="perl" |
pascal@15587 | 16 |
pascal@25601 | 17 # What is the latest version available today? |
pascal@24055 | 18 current_version() |
pascal@24055 | 19 { |
pascal@24055 | 20 wget -O - ${WGET_URL%/down*} 2>/dev/null | \ |
pascal@25601 | 21 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' |
pascal@24055 | 22 } |
pascal@24055 | 23 |
slaxemulator@7820 | 24 # Rules to configure and make the package. |
slaxemulator@7820 | 25 compile_rules() |
slaxemulator@7820 | 26 { |
Hans-G?nter@21894 | 27 ./configure \ |
Hans-G?nter@21894 | 28 --prefix=/usr \ |
Hans-G?nter@21894 | 29 --infodir=/usr/share/info \ |
Hans-G?nter@21894 | 30 --mandir=/usr/share/man \ |
slaxemulator@7820 | 31 $CONFIGURE_ARGS && |
Hans-G?nter@21894 | 32 make && |
Hans-G?nter@21894 | 33 make DESTDIR=$DESTDIR install |
slaxemulator@7820 | 34 } |
slaxemulator@7820 | 35 |
slaxemulator@7820 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7820 | 37 genpkg_rules() |
slaxemulator@7820 | 38 { |
slaxemulator@7820 | 39 mkdir -p $fs/usr |
pascal@15587 | 40 cp -a $install/usr/bin $fs/usr |
slaxemulator@7820 | 41 } |