wok-next view libnfc/receipt @ rev 20968

Micro-updates
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Sep 11 11:29:43 2018 +0300 (2018-09-11)
parents 5841522533ec
children d5aab818505e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libnfc"
4 VERSION="1.7.1"
5 CATEGORY="development"
6 SHORT_DESC="Near Field Communication (NFC) library"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="LGPL3"
9 WEB_SITE="http://nfc-tools.org/index.php?title=Libnfc"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://bintray.com/artifact/download/nfc-tools/sources/$TARBALL"
14 BUILD_DEPENDS="automake libtool libusb-dev libusb-compat-dev pcsc-lite-dev \
15 eudev-dev readline-dev"
16 SPLIT="libnfc-dev"
18 compile_rules() {
19 autoreconf -vifs
21 ./configure \
22 --disable-static \
23 --with-drivers=all \
24 $CONFIGURE_ARGS &&
25 fix libtool &&
26 make &&
27 make install
28 }
30 genpkg_rules() {
31 case $PACKAGE in
32 libnfc)
33 copy @std
34 DEPENDS="libusb-compat pcsc-lite readline"
35 ;;
36 *-dev)
37 copy @dev
38 DEPENDS="libnfc libusb-compat-dev pcsc-lite-dev"
39 ;;
40 esac
41 }