wok-current annotate lshw/receipt @ rev 20671

Update some WEB_SITE
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jan 24 11:33:03 2019 +0100 (2019-01-24)
parents 2a5cc8208d36
children b8a0201a8b10
rev   line source
erjo@506 1 # SliTaz package receipt.
erjo@506 2
erjo@506 3 PACKAGE="lshw"
slaxemulator@6648 4 VERSION="B.02.15"
erjo@506 5 CATEGORY="system-tools"
erjo@506 6 SHORT_DESC="Hardware Lister"
erjo@784 7 MAINTAINER="erjo@slitaz.org"
pascal@15379 8 LICENSE="GPL2"
erjo@506 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@20671 10 WEB_SITE="https://ezix.org/project/wiki/HardwareLiSter"
pascal@20671 11 WGET_URL="https://ezix.org/software/files/$TARBALL"
erjo@506 12
pascal@15379 13 DEPENDS="gcc-lib-base"
pascal@15379 14
erjo@506 15 # Rules to configure and make the package.
erjo@506 16 compile_rules()
erjo@506 17 {
erjo@506 18 cd $src
pascal@5732 19 sed -i 's/hwNode::hwNode/hwNode/' src/core/scsi.cc
pascal@6113 20 grep -qs 'define u8' src/core/scsi.cc src/core/burner.cc ||
pascal@6113 21 sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' \
pascal@6113 22 src/core/scsi.cc src/core/burner.cc
pascal@5003 23 make &&
pascal@15379 24 make DESTDIR=$DESTDIR install
erjo@506 25 }
erjo@506 26
erjo@506 27 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@506 28 genpkg_rules()
erjo@506 29 {
erjo@506 30 mkdir -p $fs/usr/share
pascal@15379 31 cp -a $install/usr/sbin $fs/usr
pascal@15379 32 cp -a $install/usr/share/lshw $fs/usr/share
erjo@506 33 }
erjo@506 34