wok-next annotate 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 |
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" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15001 | 8 LICENSE="GPL2" |
al@20328 | 9 WEB_SITE="http://mj.ucw.cz/sw/pciutils/" |
al@21017 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/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@21020 | 16 SPLIT="$PACKAGE-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 } |