wok-current view scrub/receipt @ rev 24154
linux64 : update modules64.list
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Dec 06 12:18:58 2021 +0000 (2021-12-06) |
parents | f4c90bf607b6 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="scrub"
4 VERSION="2.6.1"
5 CATEGORY="security"
6 SHORT_DESC="Iteratively writes patterns on files or disk devices to make retreiving the data more difficult."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/chaos/scrub"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/releases/download/$VERSION/$TARBALL"
14 DEPENDS=""
15 BUILD_DEPENDS="perl"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure \
27 --prefix=/usr \
28 --infodir=/usr/share/info \
29 --mandir=/usr/share/man \
30 $CONFIGURE_ARGS &&
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr
39 cp -a $install/usr/bin $fs/usr
40 }