wok-next view pciutils/receipt @ rev 21303
updated gujin (2.8.6 -> 2.8.7)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Dec 10 07:57:29 2019 +0100 (2019-12-10) |
parents | d5aab818505e |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="pciutils"
4 VERSION="3.5.6"
5 CATEGORY="system-tools"
6 SHORT_DESC="Linux PCI Utilities"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://mj.ucw.cz/sw/pciutils/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/pciutils.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="https://www.kernel.org/pub/software/utils/pciutils/$TARBALL"
15 COOKOPTS="force-arch" # different .h
17 BUILD_DEPENDS="kmod-dev eudev-dev zlib-dev"
18 SPLIT="$PACKAGE-dev"
20 compile_rules() {
21 make \
22 PREFIX=/usr \
23 SBINDIR=/usr/bin \
24 SHAREDIR=/usr/share/hwdata \
25 SHARED=yes &&
26 make \
27 PREFIX=/usr \
28 SBINDIR=/usr/bin \
29 SHAREDIR=/usr/share/hwdata \
30 SHARED=yes \
31 install install-lib || return 1
33 chmod -v 755 $install/usr/lib/libpci.so.$VERSION
34 }
36 genpkg_rules() {
37 case $PACKAGE in
38 pciutils)
39 copy @std
40 rm -rf $fs/usr/share/
41 DEPENDS="eudev kmod zlib pciids"
42 ;;
43 *-dev)
44 copy @dev
45 ;;
46 esac
47 }