pciutils: don't use compression for pci.ids

This commit is contained in:
Juergen Daubert 2006-09-14 06:59:22 +00:00
parent eadba4f406
commit b32ae8a1b7
2 changed files with 4 additions and 5 deletions

View File

@ -21,4 +21,4 @@ drwxr-xr-x root/root usr/sbin/
-rwxr-xr-x root/root usr/sbin/setpci
-rwxr-xr-x root/root usr/sbin/update-pciids
drwxr-xr-x root/root usr/share/
-rw-r--r-- root/root usr/share/pci.ids.gz
-rw-r--r-- root/root usr/share/pci.ids

View File

@ -2,21 +2,20 @@
# 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
# Depends on: zlib
name=pciutils
version=2.2.4
release=1
release=2
source=(http://www.kernel.org/pub/software/utils/$name/$name-$version.tar.gz \
http://jue.li/crux/files/pci.ids-060909.gz)
build() {
mkdir -p $PKG/usr/{lib,share,include/pci}
cp $SRC/pci.ids-060909.gz $PKG/usr/share/pci.ids.gz
gunzip -c $SRC/pci.ids-060909.gz > $PKG/usr/share/pci.ids
cd $name-$version
sed -i "s/-O2/$CFLAGS/" Makefile
make PREFIX=/usr
make PREFIX=/usr ZLIB=no
make PREFIX=$PKG/usr install
cp lib/libpci.a $PKG/usr/lib