core/pciutils/Pkgfile

25 lines
806 B
Plaintext
Raw Normal View History

2006-05-07 10:12:29 +02:00
# Description: Library and utilities to access the PCI bus configuration registers
2006-02-23 18:19:35 +01:00
# URL: http://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml
# Packager: Markus Ackermann, maol at symlink dot ch
# Maintainer: J<>rgen Daubert, juergen dot daubert at t-online dot de
name=pciutils
2006-09-11 09:26:56 +02:00
version=2.2.4
release=2
source=(http://www.kernel.org/pub/software/utils/$name/$name-$version.tar.gz \
2006-09-11 09:26:56 +02:00
http://jue.li/crux/files/pci.ids-060909.gz)
2006-02-23 18:19:35 +01:00
build() {
mkdir -p $PKG/usr/{lib,share,include/pci}
gunzip -c $SRC/pci.ids-060909.gz > $PKG/usr/share/pci.ids
2006-05-07 10:12:29 +02:00
cd $name-$version
2006-02-23 18:19:35 +01:00
sed -i "s/-O2/$CFLAGS/" Makefile
make PREFIX=/usr ZLIB=no
2006-02-23 18:19:35 +01:00
make PREFIX=$PKG/usr install
2006-05-07 10:12:29 +02:00
2006-09-11 09:26:56 +02:00
cp lib/libpci.a $PKG/usr/lib
cp lib/*.h $PKG/usr/include/pci
2006-02-23 18:19:35 +01:00
rm $PKG/usr/include/pci/i386-io-{h*,s*,w*}
}