wok-next view libnfc/receipt @ rev 20611
Add rpcsvc-proto
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Apr 19 21:54:31 2018 +0300 (2018-04-19) |
parents | 9e5dca6702bf |
children | 228b9c951d97 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libnfc"
4 VERSION="1.7.0"
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="http://libnfc.googlecode.com/files/$TARBALL"
14 BUILD_DEPENDS="libusb-dev libusb-compat-dev pcsc-lite-dev eudev-dev"
15 SPLIT="libnfc-dev"
17 compile_rules() {
18 ./configure \
19 --with-drivers=all \
20 $CONFIGURE_ARGS &&
21 fix libtool &&
22 make &&
23 make DESTDIR=$DESTDIR install
24 }
26 genpkg_rules() {
27 case $PACKAGE in
28 libnfc)
29 copy @std
30 DEPENDS="libusb pcsc-lite"
31 ;;
32 *-dev)
33 copy @dev
34 DEPENDS="libnfc pcsc-lite-dev libusb-dev libusb-compat-dev"
35 ;;
36 esac
37 }