2009-03-22 05:14:05 +00:00
|
|
|
# Template file for 'pciutils'
|
|
|
|
pkgname=pciutils
|
2011-11-06 07:51:28 +00:00
|
|
|
version=3.1.8
|
|
|
|
homepage="http://mj.ucw.cz/pciutils.html"
|
|
|
|
distfiles="ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/${pkgname}-${version}.tar.gz"
|
2011-11-12 05:01:02 +00:00
|
|
|
revision=1
|
2009-03-22 05:14:05 +00:00
|
|
|
short_desc="PCI bus related utilities"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-11-06 07:51:28 +00:00
|
|
|
license="GPL-2"
|
|
|
|
checksum=15a7de19f23f95eeda2487bedc6b4c11eddea9c30bba35573775b4d46b7a46ca
|
2009-03-22 05:14:05 +00:00
|
|
|
long_desc="
|
|
|
|
The $pkgname package contains various utilities for inspecting and
|
|
|
|
setting devices connected to the PCI bus."
|
|
|
|
|
2009-12-05 02:42:43 +00:00
|
|
|
subpackages="$pkgname-devel"
|
2009-03-22 05:14:05 +00:00
|
|
|
Add_dependency build wget
|
|
|
|
|
2011-11-06 07:51:28 +00:00
|
|
|
do_build() {
|
2009-03-22 05:14:05 +00:00
|
|
|
./update-pciids.sh
|
2011-11-06 07:51:28 +00:00
|
|
|
make OPT="${XBPS_CFLAGS} -fPIC -DPIC" ZLIB=no SHARED=no PREFIX=/usr \
|
|
|
|
SHAREDIR=/usr/share/hwdata MANDIR=/usr/share/man all
|
|
|
|
cp lib/libpci.a ${XBPS_MASTERDIR}/tmp
|
2009-05-19 00:35:15 +00:00
|
|
|
make clean
|
2011-11-06 07:51:28 +00:00
|
|
|
make OPT="${XBPS_CFLAGS} -fPIC -DPIC" ZLIB=no SHARED=yes PREFIX=/usr \
|
|
|
|
SHAREDIR=/usr/share/hwdata MANDIR=/usr/share/man all
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
make SHARED=yes PREFIX=/usr SHAREDIR=/usr/share/hwdata \
|
|
|
|
MANDIR=/usr/share/man DESTDIR=${DESTDIR} install install-lib
|
|
|
|
vinstall ${XBPS_MASTERDIR}/tmp/libpci.a 644 usr/lib
|
2009-03-22 05:14:05 +00:00
|
|
|
}
|