wok-next view libnfc/receipt @ rev 21072
Update Xorg packages
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Dec 20 17:55:43 2018 +0200 (2018-12-20) |
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 }