# SliTaz package receipt. PACKAGE="whdd" VERSION="3.0" CATEGORY="misc" SHORT_DESC="HDD diagnostic and data recovery tool" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL3" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="https://whdd.github.io/" WGET_URL="https://github.com/whdd/whdd/archive/$VERSION.tar.gz" DEPENDS="ncursesw" BUILD_DEPENDS="ncursesw-dev dialog-dev" current_version() { wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. compile_rules() { export LDFLAGS="$LDFLAGS -lncursesw" ./build.sh make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cp -a $install/bin $fs }