wok-6.x view lshw/receipt @ rev 20366
debugging with markers, I think the build server does NOT build the gpg... but here locally gpg binary is created and at the place it should be
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Sat Jun 09 20:40:08 2018 +0000 (2018-06-09) |
parents | 02bbaa9d12ba |
children | 6e8b1bcb30e2 |
line source
1 # SliTaz package receipt.
3 PACKAGE="lshw"
4 VERSION="B.02.15"
5 CATEGORY="system-tools"
6 SHORT_DESC="Hardware Lister"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://ezix.org/project/wiki/HardwareLiSter"
11 WGET_URL="http://ezix.org/software/files/$TARBALL"
13 DEPENDS="gcc-lib-base"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 sed -i 's/hwNode::hwNode/hwNode/' src/core/scsi.cc
20 grep -qs 'define u8' src/core/scsi.cc src/core/burner.cc ||
21 sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' \
22 src/core/scsi.cc src/core/burner.cc
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share
31 cp -a $install/usr/sbin $fs/usr
32 cp -a $install/usr/share/lshw $fs/usr/share
33 }