wok rev 21264

updated libnfc and libnfc-dev (1.7.0 -> 1.7.1)
author Hans-G?nter Theisgen
date Fri Apr 12 13:50:34 2019 +0100 (2019-04-12)
parents 562fee6af57b
children eb7fa8db50fe
files libnfc-dev/receipt libnfc/receipt
line diff
     1.1 --- a/libnfc-dev/receipt	Fri Apr 12 13:34:05 2019 +0100
     1.2 +++ b/libnfc-dev/receipt	Fri Apr 12 13:50:34 2019 +0100
     1.3 @@ -1,21 +1,22 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libnfc-dev"
     1.7 -VERSION="1.7.0"
     1.8 +VERSION="1.7.1"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="Near Field Communication (NFC) library, development files."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="GPL2"
    1.13  WEB_SITE="http://nfc-tools.org/index.php?title=Libnfc"
    1.14 +
    1.15  WANTED="libnfc"
    1.16 -
    1.17 -DEPENDS="libnfc pcsc-lite-dev libusb-dev pkg-config"
    1.18 +DEPENDS="libnfc libusb-dev pcsc-lite-dev pkg-config"
    1.19  
    1.20  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.21  genpkg_rules()
    1.22  {
    1.23  	mkdir -p $fs/usr/lib
    1.24 -	cp -a $install/usr/include $fs/usr
    1.25 -	cp -a $install/usr/lib/*a $fs/usr/lib
    1.26 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.27 +
    1.28 +	cp -a $install/usr/include		$fs/usr
    1.29 +	cp -a $install/usr/lib/*a		$fs/usr/lib
    1.30 +	cp -a $install/usr/lib/pkgconfig	$fs/usr/lib
    1.31  }
     2.1 --- a/libnfc/receipt	Fri Apr 12 13:34:05 2019 +0100
     2.2 +++ b/libnfc/receipt	Fri Apr 12 13:50:34 2019 +0100
     2.3 @@ -1,26 +1,29 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="libnfc"
     2.7 -VERSION="1.7.0"
     2.8 +VERSION="1.7.1"
     2.9  CATEGORY="development"
    2.10  SHORT_DESC="Near Field Communication (NFC) library."
    2.11  MAINTAINER="pascal.bellard@slitaz.org"
    2.12  LICENSE="LGPL3"
    2.13 +WEB_SITE="http://nfc-tools.org/index.php?title=Libnfc"
    2.14 +
    2.15  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.16 -WEB_SITE="http://nfc-tools.org/index.php?title=Libnfc"
    2.17 -WGET_URL="http://libnfc.googlecode.com/files/$TARBALL"
    2.18 +WGET_URL="https://github.com/nfc-tools/$PACKAGE/releases/download/$PACKAGE-$VERSION/$TARBALL"
    2.19  
    2.20  DEPENDS="libusb pcsc-lite"
    2.21 -BUILD_DEPENDS="pkg-config libusb-dev libusb-compat pcsc-lite-dev"
    2.22 +BUILD_DEPENDS="libusb-compat libusb-dev pcsc-lite-dev pkg-config"
    2.23  
    2.24  # Rules to configure and make the package.
    2.25  compile_rules()
    2.26  {
    2.27  	export LDFLAGS="$LDFLAGS -ltinfo"
    2.28 -	./configure --prefix=/usr \
    2.29 -		--with-drivers=all \
    2.30 +
    2.31 +	./configure			\
    2.32 +		--prefix=/usr		\
    2.33 +		--with-drivers=all	\
    2.34  		$CONFIGURE_ARGS &&
    2.35 -	make &&
    2.36 +	make -j 1 &&
    2.37  	make DESTDIR=$DESTDIR install
    2.38  }
    2.39  
    2.40 @@ -28,6 +31,7 @@
    2.41  genpkg_rules()
    2.42  {
    2.43  	mkdir -p $fs/usr/lib
    2.44 -	cp -a $install/usr/bin $fs/usr
    2.45 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.46 +
    2.47 +	cp -a $install/usr/bin		$fs/usr
    2.48 +	cp -a $install/usr/lib/*.so*	$fs/usr/lib
    2.49  }