From f184edfae6ce55c9e26a7f7755d96cfc147254db Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 12 May 2009 02:21:07 +0200 Subject: [PATCH] pciutils: install the static lib. Bump revision. --HG-- extra : convert_revision : c8f59282d3c68370f2508826673d1eb2ba7ee77f --- templates/pciutils/template | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/templates/pciutils/template b/templates/pciutils/template index 905d0e36559..ca4149b25b0 100644 --- a/templates/pciutils/template +++ b/templates/pciutils/template @@ -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 }