wok annotate scrub/receipt @ rev 24370
updated blackbox and blackbox-lang (0.75 -> 0.77)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Feb 05 14:51:40 2022 +0100 (2022-02-05) |
parents | f4c90bf607b6 |
children | 0262035dc1e7 |
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@24055 | 17 current_version() |
pascal@24055 | 18 { |
pascal@24055 | 19 wget -O - ${WGET_URL%/down*} 2>/dev/null | \ |
pascal@24055 | 20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' |
pascal@24055 | 21 } |
pascal@24055 | 22 |
slaxemulator@7820 | 23 # Rules to configure and make the package. |
slaxemulator@7820 | 24 compile_rules() |
slaxemulator@7820 | 25 { |
Hans-G?nter@21894 | 26 ./configure \ |
Hans-G?nter@21894 | 27 --prefix=/usr \ |
Hans-G?nter@21894 | 28 --infodir=/usr/share/info \ |
Hans-G?nter@21894 | 29 --mandir=/usr/share/man \ |
slaxemulator@7820 | 30 $CONFIGURE_ARGS && |
Hans-G?nter@21894 | 31 make && |
Hans-G?nter@21894 | 32 make DESTDIR=$DESTDIR install |
slaxemulator@7820 | 33 } |
slaxemulator@7820 | 34 |
slaxemulator@7820 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7820 | 36 genpkg_rules() |
slaxemulator@7820 | 37 { |
slaxemulator@7820 | 38 mkdir -p $fs/usr |
pascal@15587 | 39 cp -a $install/usr/bin $fs/usr |
slaxemulator@7820 | 40 } |