wok view whdd/receipt @ rev 25670
Up mediawiki (1.41.0), memcached (1.6.23), metasploit (6.3.56), modsecurity-apache (2.9.7), mutt (2.2.12), ncurses (6.4), nginx (1.25.4)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 25 17:20:49 2024 +0000 (8 months ago) |
parents | 5ea0ce1cecc0 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="whdd"
4 VERSION="3.0"
5 CATEGORY="misc"
6 SHORT_DESC="HDD diagnostic and data recovery tool"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://whdd.github.io/"
11 WGET_URL="https://github.com/whdd/whdd/archive/$VERSION.tar.gz"
13 DEPENDS="ncursesw"
14 BUILD_DEPENDS="ncursesw-dev dialog-dev"
16 current_version()
17 {
18 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
19 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 export LDFLAGS="$LDFLAGS -lncursesw"
26 ./build.sh
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cp -a $install/bin $fs
34 }