wok diff pciutils/receipt @ rev 13217
Add TiMidity++ (libao 1.1.0)
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Sat Aug 11 16:11:48 2012 +0000 (2012-08-11) |
parents | bab6e96ebac3 |
children | 67ed620748b8 |
line diff
1.1 --- a/pciutils/receipt Sun Oct 16 07:54:43 2011 +0000 1.2 +++ b/pciutils/receipt Sat Aug 11 16:11:48 2012 +0000 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="pciutils" 1.7 -VERSION="3.1.8" 1.8 +VERSION="3.1.9" 1.9 CATEGORY="system-tools" 1.10 SHORT_DESC="Utilities to list PCI device by name (lspci)." 1.11 MAINTAINER="pankso@slitaz.org" 1.12 @@ -16,15 +16,21 @@ 1.13 compile_rules() 1.14 { 1.15 cd $src 1.16 - make PREFIX=/usr IDSDIR=/usr/share/misc 1.17 + make OPT="${CFLAGS} -fPIC -DPIC" SHARED=no PREFIX=/usr SHAREDIR=/usr/share/misc MANDIR=/usr/share/man all 1.18 + cp -a lib/libpci.a $WOK/$PACKAGE/source 1.19 + make clean 1.20 + make OPT="${CFLAGS}" ZLIB=no SHARED=yes PREFIX=/usr SHAREDIR=/usr/share/misc MANDIR=/usr/share/man all 1.21 + make SHARED=yes PREFIX=/usr SHAREDIR=/usr/share/misc MANDIR=/usr/share/man DESTDIR="$DESTDIR" install install-lib 1.22 + cp -a $WOK/$PACKAGE/source/libpci.a $DESTDIR/usr/lib 1.23 } 1.24 1.25 # Rules to gen a SliTaz package suitable for Tazpkg. 1.26 genpkg_rules() 1.27 { 1.28 - mkdir -p $fs/usr/bin $fs/usr 1.29 - cp -a $src/lspci $fs/usr/bin 1.30 - cp -a $src/setpci $fs/usr/bin 1.31 + mkdir -p $fs/usr/bin $fs/usr/lib 1.32 + cp -a $install/usr/sbin/lspci $fs/usr/bin 1.33 + cp -a $install/usr/sbin/setpci $fs/usr/bin 1.34 + cp -a $install/usr/lib/*.so* $fs/usr/lib 1.35 } 1.36 1.37 # Overlap busybox