wok diff pciutils/receipt @ rev 24330

updated atftp and atftpd (0.7.2 -> 0.7.5)
author Hans-G?nter Theisgen
date Thu Jan 27 15:48:06 2022 +0100 (2022-01-27)
parents e8fd3684e239
children 241fb98cab1c
line diff
     1.1 --- a/pciutils/receipt	Sat Jun 01 14:00:45 2019 +0100
     1.2 +++ b/pciutils/receipt	Thu Jan 27 15:48:06 2022 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="pciutils"
     1.7 -VERSION="3.6.2"
     1.8 +VERSION="3.6.4"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="Linux PCI Utilities."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12 @@ -9,20 +9,35 @@
    1.13  WEB_SITE="https://mj.ucw.cz/sw/pciutils/"
    1.14  
    1.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 -WGET_URL="ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/$TARBALL"
    1.17 +WGET_URL="https://mj.ucw.cz/download/linux/pci/$TARBALL"
    1.18  
    1.19 -DEPENDS="glibc-base zlib pciids"
    1.20 -BUILD_DEPENDS="wget"
    1.21 +DEPENDS="glibc-base pciids zlib"
    1.22 +BUILD_DEPENDS=""
    1.23  
    1.24  # Rules to configure and make the package.
    1.25  compile_rules()
    1.26  {
    1.27 -	make OPT="${CFLAGS} -fPIC -DPIC" SHARED=no PREFIX=/usr SHAREDIR=/usr/share/misc MANDIR=/usr/share/man all
    1.28 -	cp -a lib/libpci.a $WOK/$PACKAGE/source
    1.29 -	make clean
    1.30 -	make OPT="${CFLAGS}" ZLIB=yes SHARED=yes PREFIX=/usr SHAREDIR=/usr/share/misc MANDIR=/usr/share/man all
    1.31 -	make SHARED=yes PREFIX=/usr SHAREDIR=/usr/share/misc MANDIR=/usr/share/man DESTDIR="$DESTDIR" install install-lib
    1.32 -	cp -a $WOK/$PACKAGE/source/libpci.a $DESTDIR/usr/lib
    1.33 +	make	all				\
    1.34 +		OPT="${CFLAGS} -fPIC -DPIC"	\
    1.35 +		SHARED=no PREFIX=/usr		\
    1.36 +		SHAREDIR=/usr/share/misc	\
    1.37 +		MANDIR=/usr/share/man &&
    1.38 +	cp -a lib/libpci.a	$WOK/$PACKAGE/source &&
    1.39 +	make	clean &&
    1.40 +	make	all				\
    1.41 +		OPT="${CFLAGS}"			\
    1.42 +		ZLIB=yes			\
    1.43 +		SHARED=yes			\
    1.44 +		PREFIX=/usr			\
    1.45 +		SHAREDIR=/usr/share/misc	\
    1.46 +		MANDIR=/usr/share/man &&
    1.47 +	make	install	install-lib		\
    1.48 +		SHARED=yes			\
    1.49 +		PREFIX=/usr			\
    1.50 +		SHAREDIR=/usr/share/misc	\
    1.51 +		MANDIR=/usr/share/man		\
    1.52 +		DESTDIR="$DESTDIR" &&
    1.53 +	cp -a $WOK/$PACKAGE/source/libpci.a	$DESTDIR/usr/lib
    1.54  }
    1.55  
    1.56  # Rules to gen a SliTaz package suitable for Tazpkg.