wok-next view libnfc/receipt @ rev 20570
More fix libtool; audit: apply patch.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 13 09:28:50 2018 +0300 (2018-04-13) |
parents | d43bf7aae921 |
children | 5841522533ec |
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 make &&
22 make DESTDIR=$DESTDIR install
23 }
25 genpkg_rules() {
26 case $PACKAGE in
27 libnfc)
28 copy @std
29 DEPENDS="libusb pcsc-lite"
30 ;;
31 *-dev)
32 copy @dev
33 DEPENDS="libnfc pcsc-lite-dev libusb-dev libusb-compat-dev"
34 ;;
35 esac
36 }