wok-6.x annotate nwipe/receipt @ rev 23099

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