wok view nwipe/receipt @ rev 23069

scilab: update for hdf5
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 10 08:35:31 2020 +0100 (2020-03-10)
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 }