wok-next annotate 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 |
rev | line source |
---|---|
al@20328 | 1 # SliTaz package receipt v2. |
pankso@26 | 2 |
pankso@26 | 3 PACKAGE="pciutils" |
al@20657 | 4 VERSION="3.5.6" |
pankso@202 | 5 CATEGORY="system-tools" |
al@17992 | 6 SHORT_DESC="Linux PCI Utilities" |
pankso@26 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15001 | 8 LICENSE="GPL2" |
al@20328 | 9 WEB_SITE="http://mj.ucw.cz/sw/pciutils/" |
al@20328 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/pciutils.html" |
al@20328 | 11 |
al@20657 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@20657 | 13 WGET_URL="https://www.kernel.org/pub/software/utils/pciutils/$TARBALL" |
pankso@26 | 14 |
al@20328 | 15 BUILD_DEPENDS="kmod-dev eudev-dev zlib-dev" |
al@20328 | 16 SPLIT="pciutils-dev" |
slaxemulator@11043 | 17 |
al@20328 | 18 compile_rules() { |
al@20328 | 19 make \ |
al@20328 | 20 PREFIX=/usr \ |
al@20328 | 21 SBINDIR=/usr/bin \ |
al@20657 | 22 SHAREDIR=/usr/share/hwdata \ |
al@20657 | 23 SHARED=yes && |
al@20328 | 24 make \ |
al@20328 | 25 PREFIX=/usr \ |
al@20328 | 26 SBINDIR=/usr/bin \ |
al@20657 | 27 SHAREDIR=/usr/share/hwdata \ |
al@20657 | 28 SHARED=yes \ |
al@20657 | 29 install install-lib || return 1 |
al@20328 | 30 |
al@20657 | 31 chmod -v 755 $install/usr/lib/libpci.so.$VERSION |
pankso@26 | 32 } |
pankso@26 | 33 |
al@20328 | 34 genpkg_rules() { |
al@20328 | 35 case $PACKAGE in |
al@20328 | 36 pciutils) |
al@20328 | 37 copy @std |
al@20328 | 38 rm -rf $fs/usr/share/ |
al@20657 | 39 DEPENDS="eudev kmod zlib pciids" |
al@20328 | 40 ;; |
al@20328 | 41 *-dev) |
al@20328 | 42 copy @dev |
al@20328 | 43 ;; |
al@20328 | 44 esac |
pankso@26 | 45 } |