wok-6.x view lshw/receipt @ rev 25174
updated python-flask (1.1.2 -> 1.1.4)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 01 17:16:59 2022 +0100 (2022-07-01) |
parents | bc2b9d9bed6f |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="lshw"
4 VERSION="B.02.19.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="Hardware Lister."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://ezix.org/project/wiki/HardwareLiSter"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://ezix.org/software/files/$TARBALL"
14 DEPENDS="gcc-lib-base"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://ezix.org/src/pkg/lshw/tags 2>/dev/null | \
20 sed '/src\/tag/!d;s|.*">||;s|<.*||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 sed -i 's/hwNode::hwNode/hwNode/' src/core/scsi.cc
27 grep -qs 'define u8' src/core/scsi.cc src/core/burner.cc ||
28 sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' \
29 src/core/scsi.cc src/core/burner.cc
31 make &&
32 make install DESTDIR=$DESTDIR
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cook_copy_folders sbin
39 cook_copy_folders lshw
40 }