wok view nwipe/receipt @ rev 25776

Update thunderbird to 68.12.1 latest ESR work with old glibc, and block autoupdate
author Stanislas Leduc <shann@slitaz.org>
date Mon Sep 16 17:28:27 2024 +0200 (8 weeks ago)
parents 6b6d14c9f7e9
children
line source
1 # SliTaz package receipt.
3 PACKAGE="nwipe"
4 VERSION="0.28"
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 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - $WEB_SITE/releases 2>/dev/null | \
20 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 export LDFLAGS="$LDFLAGS -ltinfo"
27 sed 's|sys/types.h>|&\n#include <sys/wait.h>|' -i src/nwipe.h
28 ./init.sh
29 ./configure --prefix=/usr \
30 --mandir=/usr/share/man \
31 $CONFIGURE_ARGS &&
32 make &&
33 make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr
40 cp -a $install/usr/bin $fs/usr
41 }