wok-next annotate libnfc/receipt @ rev 21045
Up cookutils (1094)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Nov 26 12:14:47 2018 +0200 (2018-11-26) |
parents | 228b9c951d97 |
children |
rev | line source |
---|---|
pascal@20217 | 1 # SliTaz package receipt v2. |
pascal@14169 | 2 |
pascal@14169 | 3 PACKAGE="libnfc" |
al@20968 | 4 VERSION="1.7.1" |
pascal@14169 | 5 CATEGORY="development" |
al@20557 | 6 SHORT_DESC="Near Field Communication (NFC) library" |
pascal@14169 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14997 | 8 LICENSE="LGPL3" |
al@20557 | 9 WEB_SITE="http://nfc-tools.org/index.php?title=Libnfc" |
al@20557 | 10 |
pascal@18333 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
al@20968 | 12 WGET_URL="https://bintray.com/artifact/download/nfc-tools/sources/$TARBALL" |
pascal@14169 | 13 |
al@20968 | 14 BUILD_DEPENDS="automake libtool libusb-dev libusb-compat-dev pcsc-lite-dev \ |
al@20968 | 15 eudev-dev readline-dev" |
al@21020 | 16 SPLIT="$PACKAGE-dev" |
pascal@14169 | 17 |
al@20557 | 18 compile_rules() { |
al@20968 | 19 autoreconf -vifs |
al@20968 | 20 |
al@20557 | 21 ./configure \ |
al@20968 | 22 --disable-static \ |
pascal@14169 | 23 --with-drivers=all \ |
pascal@14169 | 24 $CONFIGURE_ARGS && |
al@20595 | 25 fix libtool && |
pascal@14169 | 26 make && |
al@20968 | 27 make install |
pascal@14169 | 28 } |
pascal@14169 | 29 |
al@20557 | 30 genpkg_rules() { |
pascal@20217 | 31 case $PACKAGE in |
al@20557 | 32 libnfc) |
al@20557 | 33 copy @std |
al@20968 | 34 DEPENDS="libusb-compat pcsc-lite readline" |
al@20557 | 35 ;; |
al@20557 | 36 *-dev) |
al@20557 | 37 copy @dev |
al@20968 | 38 DEPENDS="libnfc libusb-compat-dev pcsc-lite-dev" |
al@20557 | 39 ;; |
pascal@20217 | 40 esac |
pascal@14169 | 41 } |