wok-next view libnfc/receipt @ rev 21469

updated tinc (1.0.25 -> 1.0.36)
author Hans-G?nter Theisgen
date Wed May 13 07:41:00 2020 +0100 (2020-05-13)
parents 228b9c951d97
children
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="$PACKAGE-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 }