wok-6.x view whdd/receipt @ rev 24265
updated perl-try-tiny (0.30 -> 0.31)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jan 02 10:25:53 2022 +0100 (2022-01-02) |
parents | 2466c3434ab0 |
children | ac8ca9758df1 |
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*}/releases 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 }