wok-current view whdd/receipt @ rev 25673

Up broadcom-wl drivers, add miss driver for mesa-dri (iris, crocus, virtio)
author Stanislas Leduc <shann@slitaz.org>
date Mon Mar 04 16:57:21 2024 +0000 (8 months ago)
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 }