wok-next view pciutils/receipt @ rev 20669
vde2: up / fix build
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri May 11 14:21:30 2018 +0300 (2018-05-11) |
parents | 6a3f3d91ab26 |
children | f48456621a9d |
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="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://mj.ucw.cz/sw/pciutils/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/pciutils.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="https://www.kernel.org/pub/software/utils/pciutils/$TARBALL"
15 BUILD_DEPENDS="kmod-dev eudev-dev zlib-dev"
16 SPLIT="pciutils-dev"
18 compile_rules() {
19 make \
20 PREFIX=/usr \
21 SBINDIR=/usr/bin \
22 SHAREDIR=/usr/share/hwdata \
23 SHARED=yes &&
24 make \
25 PREFIX=/usr \
26 SBINDIR=/usr/bin \
27 SHAREDIR=/usr/share/hwdata \
28 SHARED=yes \
29 install install-lib || return 1
31 chmod -v 755 $install/usr/lib/libpci.so.$VERSION
32 }
34 genpkg_rules() {
35 case $PACKAGE in
36 pciutils)
37 copy @std
38 rm -rf $fs/usr/share/
39 DEPENDS="eudev kmod zlib pciids"
40 ;;
41 *-dev)
42 copy @dev
43 ;;
44 esac
45 }