wok view pciutils/receipt @ rev 2330

Add linld
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 28 14:24:55 2009 +0000 (2009-02-28)
parents ee81c50f0cf4
children 89e187b7d309
line source
1 # SliTaz package receipt.
3 PACKAGE="pciutils"
4 VERSION="3.0.3"
5 CATEGORY="system-tools"
6 SHORT_DESC="Utilities to list PCI device by name (lspci)."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://mj.ucw.cz/pciutils.shtml"
10 WGET_URL="ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 ./update-pciids.sh
17 make PREFIX=/usr IDSDIR=/usr/share/misc
18 }
20 # Rules to gen a SliTaz package suitable for Tazpkg.
21 genpkg_rules()
22 {
23 mkdir -p $fs/usr/bin $fs/usr/share/misc
24 cp -a $src/pci.ids.gz $fs/usr/share/misc
25 cp -a $src/lspci $fs/usr/bin
26 cp -a $src/setpci $fs/usr/bin
27 strip -s $fs/usr/bin/*
28 }