wok-6.x view whdd/receipt @ rev 25053
Up advancecomp (2.3), foomatic-db (4.0-20220223), sagan-rules (2.0.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jun 05 19:53:43 2022 +0000 (2022-06-05) |
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 }