wok-6.x diff libnfc/receipt @ 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 6f8050857b59
children 78a46345f6bb
line diff
     1.1 --- a/libnfc/receipt	Tue Feb 14 21:44:23 2017 +0100
     1.2 +++ b/libnfc/receipt	Fri Apr 12 13:50:34 2019 +0100
     1.3 @@ -1,26 +1,29 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libnfc"
     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."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="LGPL3"
    1.13 +WEB_SITE="http://nfc-tools.org/index.php?title=Libnfc"
    1.14 +
    1.15  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.16 -WEB_SITE="http://nfc-tools.org/index.php?title=Libnfc"
    1.17 -WGET_URL="http://libnfc.googlecode.com/files/$TARBALL"
    1.18 +WGET_URL="https://github.com/nfc-tools/$PACKAGE/releases/download/$PACKAGE-$VERSION/$TARBALL"
    1.19  
    1.20  DEPENDS="libusb pcsc-lite"
    1.21 -BUILD_DEPENDS="pkg-config libusb-dev libusb-compat pcsc-lite-dev"
    1.22 +BUILD_DEPENDS="libusb-compat libusb-dev pcsc-lite-dev pkg-config"
    1.23  
    1.24  # Rules to configure and make the package.
    1.25  compile_rules()
    1.26  {
    1.27  	export LDFLAGS="$LDFLAGS -ltinfo"
    1.28 -	./configure --prefix=/usr \
    1.29 -		--with-drivers=all \
    1.30 +
    1.31 +	./configure			\
    1.32 +		--prefix=/usr		\
    1.33 +		--with-drivers=all	\
    1.34  		$CONFIGURE_ARGS &&
    1.35 -	make &&
    1.36 +	make -j 1 &&
    1.37  	make DESTDIR=$DESTDIR install
    1.38  }
    1.39  
    1.40 @@ -28,6 +31,7 @@
    1.41  genpkg_rules()
    1.42  {
    1.43  	mkdir -p $fs/usr/lib
    1.44 -	cp -a $install/usr/bin $fs/usr
    1.45 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.46 +
    1.47 +	cp -a $install/usr/bin		$fs/usr
    1.48 +	cp -a $install/usr/lib/*.so*	$fs/usr/lib
    1.49  }