wok-next view pciutils/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents f48456621a9d
children e19ff076dc63
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 BUILD_DEPENDS="kmod-dev eudev-dev zlib-dev"
16 SPLIT="$PACKAGE-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 }