wok-4.x view pciutils/receipt @ rev 12471

Mass Rebuild of base packages
author Stanislas Leduc <shann@slitaz.org>
date Thu Nov 10 11:11:46 2022 +0000 (18 months ago)
parents bab6e96ebac3
children
line source
1 # SliTaz package receipt.
3 PACKAGE="pciutils"
4 VERSION="3.1.8"
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.html"
10 #WGET_URL="ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/$TARBALL"
11 WGET_URL="http://mirror.slitaz.org/sources/packages-4.0/p/$TARBALL"
13 DEPENDS="glibc-base zlib pciids"
14 BUILD_DEPENDS="wget"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 make PREFIX=/usr IDSDIR=/usr/share/misc
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/bin $fs/usr
27 cp -a $src/lspci $fs/usr/bin
28 cp -a $src/setpci $fs/usr/bin
29 }
31 # Overlap busybox
32 pre_install()
33 {
34 rm -f $1/usr/bin/lspci
35 }
37 post_remove()
38 {
39 ln -s /bin/busybox $1/usr/bin/lspci
40 }