wok annotate whdd/receipt @ rev 24454
gnustep-back: added dependency icu
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 16 07:53:02 2022 +0100 (2022-02-16) |
parents | 5ea0ce1cecc0 |
children |
rev | line source |
---|---|
pascal@22843 | 1 # SliTaz package receipt. |
pascal@22843 | 2 |
pascal@22843 | 3 PACKAGE="whdd" |
pascal@22843 | 4 VERSION="3.0" |
pascal@22843 | 5 CATEGORY="misc" |
pascal@22843 | 6 SHORT_DESC="HDD diagnostic and data recovery tool" |
pascal@22843 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@22843 | 8 LICENSE="GPL3" |
pascal@22843 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@22843 | 10 WEB_SITE="https://whdd.github.io/" |
pascal@22843 | 11 WGET_URL="https://github.com/whdd/whdd/archive/$VERSION.tar.gz" |
pascal@22843 | 12 |
pascal@22843 | 13 DEPENDS="ncursesw" |
pascal@22843 | 14 BUILD_DEPENDS="ncursesw-dev dialog-dev" |
pascal@22843 | 15 |
pascal@24055 | 16 current_version() |
pascal@24055 | 17 { |
pascal@24299 | 18 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ |
pascal@24055 | 19 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' |
pascal@24055 | 20 } |
pascal@24055 | 21 |
pascal@22843 | 22 # Rules to configure and make the package. |
pascal@22843 | 23 compile_rules() |
pascal@22843 | 24 { |
pascal@22843 | 25 export LDFLAGS="$LDFLAGS -lncursesw" |
pascal@22843 | 26 ./build.sh |
pascal@22843 | 27 make DESTDIR=$DESTDIR install |
pascal@22843 | 28 } |
pascal@22843 | 29 |
pascal@22843 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@22843 | 31 genpkg_rules() |
pascal@22843 | 32 { |
pascal@22843 | 33 cp -a $install/bin $fs |
pascal@22843 | 34 } |