wok-next view pciutils/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | b863487b8e7a |
children | d5aab818505e |
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/svn/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 }