wok-next view pciutils/receipt @ rev 20328
Up libextractor, libmad, liboil, pciids, pciutils
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Nov 14 03:01:24 2017 +0200 (2017-11-14) |
parents | 492f564c3a72 |
children | b863487b8e7a |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="pciutils"
4 VERSION="3.5.5"
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.gz"
13 WGET_URL="ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/$TARBALL"
15 BUILD_DEPENDS="kmod-dev eudev-dev zlib-dev"
16 SPLIT="pciutils-dev"
18 compile_rules() {
19 make \
20 OPT="$CFLAGS -fPIC -DPIC" \
21 ZLIB=yes \
22 SHARED=no \
23 PREFIX=/usr \
24 SHAREDIR=/usr/share/misc \
25 MANDIR=/usr/share/man \
26 SBINDIR=/usr/bin \
27 lib/libpci.a &&
28 cp lib/libpci.a $src/../ &&
30 make clean &&
31 make \
32 OPT="$CFLAGS" \
33 ZLIB=yes \
34 SHARED=yes \
35 PREFIX=/usr \
36 SBINDIR=/usr/bin \
37 SHAREDIR=/usr/share/misc \
38 MANDIR=/usr/share/man \
39 all &&
41 make \
42 SHARED=yes \
43 PREFIX=/usr \
44 SBINDIR=/usr/bin \
45 SHAREDIR=/usr/share/misc \
46 MANDIR=/usr/share/man \
47 DESTDIR=$install \
48 install install-lib &&
50 mv $src/../libpci.a $install/usr/lib
51 }
53 genpkg_rules() {
54 case $PACKAGE in
55 pciutils)
56 copy @std
57 rm -rf $fs/usr/share/
58 DEPENDS="eudev kmod liblzma zlib pciids"
59 ;;
60 *-dev)
61 copy @dev
62 ;;
63 esac
64 }