pciutils: install the static lib. Bump revision.
--HG-- extra : convert_revision : c8f59282d3c68370f2508826673d1eb2ba7ee77f
This commit is contained in:
parent
857f0e224a
commit
f184edfae6
|
@ -1,6 +1,7 @@
|
|||
# Template file for 'pciutils'
|
||||
pkgname=pciutils
|
||||
version=3.1.2
|
||||
revision=1
|
||||
distfiles="ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/$pkgname-$version.tar.gz"
|
||||
build_style=custom-install
|
||||
short_desc="PCI bus related utilities"
|
||||
|
@ -20,6 +21,8 @@ do_install()
|
|||
sed -i -e 's/^OPT=.*/OPT=-O2 -pipe -fPIC -DPIC/g' Makefile
|
||||
./update-pciids.sh
|
||||
|
||||
make ZLIB=no DNS=no PREFIX=/usr SHAREDIR=/usr/share/hwdata \
|
||||
MANDIR=/usr/share/man all || exit 1
|
||||
make ZLIB=no SHARED=yes DNS=no PREFIX=/usr SHAREDIR=/usr/share/hwdata \
|
||||
MANDIR=/usr/share/man all || exit 1
|
||||
make PREFIX=/usr DESTDIR=${DESTDIR} SHAREDIR=/usr/share/hwdata \
|
||||
|
@ -30,4 +33,5 @@ do_install()
|
|||
cd ${DESTDIR}/usr/lib && \
|
||||
ln -s libpci.so.${version} libpci.so.3 && \
|
||||
ln -s libpci.so.${version} libpci.so
|
||||
install -m644 ${wrksrc}/lib/libpci.a ${DESTDIR}/usr/lib
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue