wok-6.x annotate whdd/receipt @ rev 24029
grub2: suggested os-prober
author | Hans-G?nter Theisgen |
---|---|
date | Thu Mar 25 08:56:08 2021 +0100 (2021-03-25) |
parents | |
children | 5ea0ce1cecc0 |
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@22843 | 16 # Rules to configure and make the package. |
pascal@22843 | 17 compile_rules() |
pascal@22843 | 18 { |
pascal@22843 | 19 export LDFLAGS="$LDFLAGS -lncursesw" |
pascal@22843 | 20 ./build.sh |
pascal@22843 | 21 make DESTDIR=$DESTDIR install |
pascal@22843 | 22 } |
pascal@22843 | 23 |
pascal@22843 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@22843 | 25 genpkg_rules() |
pascal@22843 | 26 { |
pascal@22843 | 27 cp -a $install/bin $fs |
pascal@22843 | 28 } |