wok-next view libnfc/receipt @ rev 20690
add missing SHA256sums
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Mon May 21 19:36:47 2018 +0000 (2018-05-21) |
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 }