wok-current rev 23280

updated pciutils and pciutils-dev (3.6.2 -> 3.6.4)
author Hans-G?nter Theisgen
date Sun Mar 29 10:15:06 2020 +0100 (2020-03-29)
parents 374c464852cf
children ab547e2cda64
files pciutils-dev/receipt pciutils/receipt
line diff
     1.1 --- a/pciutils-dev/receipt	Sun Mar 29 09:58:57 2020 +0100
     1.2 +++ b/pciutils-dev/receipt	Sun Mar 29 10:15:06 2020 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="pciutils-dev"
     1.7 -VERSION="3.6.2"
     1.8 +VERSION="3.6.4"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="Development files for pciutils."
    1.11  MAINTAINER="slaxemulator@gmail.com"
     2.1 --- a/pciutils/receipt	Sun Mar 29 09:58:57 2020 +0100
     2.2 +++ b/pciutils/receipt	Sun Mar 29 10:15:06 2020 +0100
     2.3 @@ -1,7 +1,7 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="pciutils"
     2.7 -VERSION="3.6.2"
     2.8 +VERSION="3.6.4"
     2.9  CATEGORY="system-tools"
    2.10  SHORT_DESC="Linux PCI Utilities."
    2.11  MAINTAINER="pankso@slitaz.org"
    2.12 @@ -9,20 +9,35 @@
    2.13  WEB_SITE="https://mj.ucw.cz/sw/pciutils/"
    2.14  
    2.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.16 -WGET_URL="ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/$TARBALL"
    2.17 +WGET_URL="https://mj.ucw.cz/download/linux/pci/$TARBALL"
    2.18  
    2.19 -DEPENDS="glibc-base zlib pciids"
    2.20 -BUILD_DEPENDS="wget"
    2.21 +DEPENDS="glibc-base pciids zlib"
    2.22 +BUILD_DEPENDS=""
    2.23  
    2.24  # Rules to configure and make the package.
    2.25  compile_rules()
    2.26  {
    2.27 -	make OPT="${CFLAGS} -fPIC -DPIC" SHARED=no PREFIX=/usr SHAREDIR=/usr/share/misc MANDIR=/usr/share/man all
    2.28 -	cp -a lib/libpci.a $WOK/$PACKAGE/source
    2.29 -	make clean
    2.30 -	make OPT="${CFLAGS}" ZLIB=yes SHARED=yes PREFIX=/usr SHAREDIR=/usr/share/misc MANDIR=/usr/share/man all
    2.31 -	make SHARED=yes PREFIX=/usr SHAREDIR=/usr/share/misc MANDIR=/usr/share/man DESTDIR="$DESTDIR" install install-lib
    2.32 -	cp -a $WOK/$PACKAGE/source/libpci.a $DESTDIR/usr/lib
    2.33 +	make	all				\
    2.34 +		OPT="${CFLAGS} -fPIC -DPIC"	\
    2.35 +		SHARED=no PREFIX=/usr		\
    2.36 +		SHAREDIR=/usr/share/misc	\
    2.37 +		MANDIR=/usr/share/man &&
    2.38 +	cp -a lib/libpci.a	$WOK/$PACKAGE/source &&
    2.39 +	make	clean &&
    2.40 +	make	all				\
    2.41 +		OPT="${CFLAGS}"			\
    2.42 +		ZLIB=yes			\
    2.43 +		SHARED=yes			\
    2.44 +		PREFIX=/usr			\
    2.45 +		SHAREDIR=/usr/share/misc	\
    2.46 +		MANDIR=/usr/share/man &&
    2.47 +	make	install	install-lib		\
    2.48 +		SHARED=yes			\
    2.49 +		PREFIX=/usr			\
    2.50 +		SHAREDIR=/usr/share/misc	\
    2.51 +		MANDIR=/usr/share/man		\
    2.52 +		DESTDIR="$DESTDIR" &&
    2.53 +	cp -a $WOK/$PACKAGE/source/libpci.a	$DESTDIR/usr/lib
    2.54  }
    2.55  
    2.56  # Rules to gen a SliTaz package suitable for Tazpkg.