wok-next annotate libnfc/receipt @ rev 20900
gdk-pixbuf: build man pages; glib-networking: up (2.56.1); glibmm: up (2.56.0); gnupg: up (2.2.9); gsettings-desktop-schemas: up (3.28.0); tint2: up (16.4).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Jul 21 17:03:50 2018 +0300 (2018-07-21) |
parents | 9e5dca6702bf |
children | 228b9c951d97 |
rev | line source |
---|---|
pascal@20217 | 1 # SliTaz package receipt v2. |
pascal@14169 | 2 |
pascal@14169 | 3 PACKAGE="libnfc" |
pascal@18333 | 4 VERSION="1.7.0" |
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" |
pascal@14169 | 12 WGET_URL="http://libnfc.googlecode.com/files/$TARBALL" |
pascal@14169 | 13 |
al@20557 | 14 BUILD_DEPENDS="libusb-dev libusb-compat-dev pcsc-lite-dev eudev-dev" |
pascal@20217 | 15 SPLIT="libnfc-dev" |
pascal@14169 | 16 |
al@20557 | 17 compile_rules() { |
al@20557 | 18 ./configure \ |
pascal@14169 | 19 --with-drivers=all \ |
pascal@14169 | 20 $CONFIGURE_ARGS && |
al@20595 | 21 fix libtool && |
pascal@14169 | 22 make && |
pascal@14169 | 23 make DESTDIR=$DESTDIR install |
pascal@14169 | 24 } |
pascal@14169 | 25 |
al@20557 | 26 genpkg_rules() { |
pascal@20217 | 27 case $PACKAGE in |
al@20557 | 28 libnfc) |
al@20557 | 29 copy @std |
al@20557 | 30 DEPENDS="libusb pcsc-lite" |
al@20557 | 31 ;; |
al@20557 | 32 *-dev) |
al@20557 | 33 copy @dev |
al@20557 | 34 DEPENDS="libnfc pcsc-lite-dev libusb-dev libusb-compat-dev" |
al@20557 | 35 ;; |
pascal@20217 | 36 esac |
pascal@14169 | 37 } |