wok-next rev 12765

Up: pciutils to 3.1.9.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat May 12 10:53:57 2012 +0000 (2012-05-12)
parents 933dfe433303
children 170bab8c0bcc
files pciutils-dev/receipt pciutils/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/pciutils-dev/receipt	Sat May 12 10:53:57 2012 +0000
     1.3 @@ -0,0 +1,19 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="pciutils-dev"
     1.7 +VERSION="3.19"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="devel files for pciutils"
    1.10 +MAINTAINER="slaxemulator@gmail.com"
    1.11 +WEB_SITE="http://mj.ucw.cz/sw/pciutils/"
    1.12 +WANTED="pciutils"
    1.13 +DEPENDS="pciutils"
    1.14 +
    1.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.16 +genpkg_rules()
    1.17 +{
    1.18 +	mkdir -p $fs/usr/lib
    1.19 +	cp -a $install/usr/include $fs/usr
    1.20 +	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.21 +	cp -a $install/usr/lib/*a $fs/usr/lib
    1.22 +}
     2.1 --- a/pciutils/receipt	Sat May 12 13:52:35 2012 +0200
     2.2 +++ b/pciutils/receipt	Sat May 12 10:53:57 2012 +0000
     2.3 @@ -1,7 +1,7 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="pciutils"
     2.7 -VERSION="3.1.8"
     2.8 +VERSION="3.1.9"
     2.9  CATEGORY="system-tools"
    2.10  SHORT_DESC="Utilities to list PCI device by name (lspci)."
    2.11  MAINTAINER="pankso@slitaz.org"
    2.12 @@ -16,15 +16,21 @@
    2.13  compile_rules()
    2.14  {
    2.15  	cd $src
    2.16 -	make PREFIX=/usr IDSDIR=/usr/share/misc
    2.17 +	make OPT="${CFLAGS} -fPIC -DPIC" SHARED=no PREFIX=/usr SHAREDIR=/usr/share/misc MANDIR=/usr/share/man all
    2.18 +	cp -a lib/libpci.a $WOK/$PACKAGE/source
    2.19 +	make clean
    2.20 +	make OPT="${CFLAGS}" ZLIB=no SHARED=yes PREFIX=/usr SHAREDIR=/usr/share/misc MANDIR=/usr/share/man all
    2.21 +	make SHARED=yes PREFIX=/usr SHAREDIR=/usr/share/misc MANDIR=/usr/share/man DESTDIR="$DESTDIR" install install-lib
    2.22 +	cp -a $WOK/$PACKAGE/source/libpci.a $DESTDIR/usr/lib
    2.23  }
    2.24  
    2.25  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.26  genpkg_rules()
    2.27  {
    2.28 -	mkdir -p $fs/usr/bin $fs/usr
    2.29 -	cp -a $src/lspci $fs/usr/bin
    2.30 -	cp -a $src/setpci $fs/usr/bin
    2.31 +	mkdir -p $fs/usr/bin $fs/usr/lib
    2.32 +	cp -a $install/usr/sbin/lspci $fs/usr/bin
    2.33 +	cp -a $install/usr/sbin/setpci $fs/usr/bin
    2.34 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.35  }
    2.36  
    2.37  # Overlap busybox