wok view nwipe/receipt @ rev 22960
updated irssi (1.2.0 -> 1.2.2)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 28 16:37:01 2020 +0100 (2020-02-28) |
parents | 314dd7281637 |
children | 3c65dd239f19 |
line source
1 # SliTaz package receipt.
3 PACKAGE="nwipe"
4 VERSION="0.26"
5 CATEGORY="misc"
6 SHORT_DESC="nwipe secure disk eraser"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/martijnvanbrummelen/nwipe"
11 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
13 DEPENDS="ncurses parted util-linux-uuid dmidecode"
14 BUILD_DEPENDS="pkg-config libtool ncurses-dev parted-dev dmidecode"
16 current_version()
17 {
18 wget -O - $WEB_SITE/releases 2>/dev/null | \
19 sed '/archive.*tar/!d;s|.*archive/v\(.*\).tar.*|\1|;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 export LDFLAGS="$LDFLAGS -ltinfo"
26 ./init.sh
27 ./configure --prefix=/usr \
28 --mandir=/usr/share/man \
29 $CONFIGURE_ARGS &&
30 make &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr
38 cp -a $install/usr/bin $fs/usr
39 }