wok-next diff libnfc/receipt @ rev 21015

Small updates
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Oct 15 14:02:33 2018 +0300 (2018-10-15)
parents 5841522533ec
children d5aab818505e
line diff
     1.1 --- a/libnfc/receipt	Mon Apr 16 11:36:31 2018 +0300
     1.2 +++ b/libnfc/receipt	Mon Oct 15 14:02:33 2018 +0300
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt v2.
     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 @@ -9,29 +9,33 @@
    1.13  WEB_SITE="http://nfc-tools.org/index.php?title=Libnfc"
    1.14  
    1.15  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.16 -WGET_URL="http://libnfc.googlecode.com/files/$TARBALL"
    1.17 +WGET_URL="https://bintray.com/artifact/download/nfc-tools/sources/$TARBALL"
    1.18  
    1.19 -BUILD_DEPENDS="libusb-dev libusb-compat-dev pcsc-lite-dev eudev-dev"
    1.20 +BUILD_DEPENDS="automake libtool libusb-dev libusb-compat-dev pcsc-lite-dev \
    1.21 +eudev-dev readline-dev"
    1.22  SPLIT="libnfc-dev"
    1.23  
    1.24  compile_rules() {
    1.25 +	autoreconf -vifs
    1.26 +
    1.27  	./configure \
    1.28 +		--disable-static \
    1.29  		--with-drivers=all \
    1.30  		$CONFIGURE_ARGS &&
    1.31  	fix libtool &&
    1.32  	make &&
    1.33 -	make DESTDIR=$DESTDIR install
    1.34 +	make install
    1.35  }
    1.36  
    1.37  genpkg_rules() {
    1.38  	case $PACKAGE in
    1.39  		libnfc)
    1.40  			copy @std
    1.41 -			DEPENDS="libusb pcsc-lite"
    1.42 +			DEPENDS="libusb-compat pcsc-lite readline"
    1.43  			;;
    1.44  		*-dev)
    1.45  			copy @dev
    1.46 -			DEPENDS="libnfc pcsc-lite-dev libusb-dev libusb-compat-dev"
    1.47 +			DEPENDS="libnfc libusb-compat-dev pcsc-lite-dev"
    1.48  			;;
    1.49  	esac
    1.50  }