summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/libnfc')
-rw-r--r--dev-libs/libnfc/Manifest1
-rw-r--r--dev-libs/libnfc/libnfc-1.7.0-r1.ebuild4
-rw-r--r--dev-libs/libnfc/libnfc-1.7.1.ebuild44
3 files changed, 47 insertions, 2 deletions
diff --git a/dev-libs/libnfc/Manifest b/dev-libs/libnfc/Manifest
index af5d01760a3d..70a7a2d7959c 100644
--- a/dev-libs/libnfc/Manifest
+++ b/dev-libs/libnfc/Manifest
@@ -2,3 +2,4 @@ DIST libnfc-1.4.2.tar.gz 487310 SHA256 295ad8a0dc0e4469d9f10589449a9a04eed284a2e
DIST libnfc-1.5.0.tar.gz 502506 SHA256 fae2910645ac71a0b7707d693d1521f210019fdf3437203b3d779951ddcb7e85 SHA512 d144d54b55fc67717c8b62f176e69d4e77163ecdf17fb4cffce8034ac1dc3ef26307e35e9e24f48d12d96a65619b635161f773d84a4c14d19ee4576d7b876375 WHIRLPOOL 03966d896a826099be0c780281c9a9c76b7f4fd5834b557a2f1e1caf3d9ecc50c733feff14db3fa4ef858a09cd053de93685efb2176c4523e55787fa52fffb33
DIST libnfc-1.5.1.tar.gz 534349 SHA256 5c0f33465051704a67c63f6ca9782d69b0d7ac4962ea5f996829834d1327f4f7 SHA512 1b496b9368f0a19f5286c63c17ddf9c8afa3bae5106c8a85d89bbb8bb700948782722c30d9703d4348b45f362b47f5d63cbc0d7b4a4fe7d31dbbaedfa3354533 WHIRLPOOL 4b5ec3d59254c1e5bfbb92a64b81031eb03e6dc8c296eaf3d477e0ef985872f896b8a2a297d8f9ba6ae0561c59a91d4f05e1c54e1a613347ae5f3de7778f337b
DIST libnfc-1.7.0.tar.bz2 472209 SHA256 f14df0727c301f9149608dc6e1fbad81ec48372dcd7a364ac1cb805a7a2b2b8b SHA512 f5a07b2f1438030f43715f402b756a6c8d07749866004fa74e473dbd302cb64d278413c18c7e93e80be093d2d1322d85b9df868aa640be27b6367245ab7365d5 WHIRLPOOL 4f56a3a71e7151710c19ba0debdd998e36c4fbae2a7451ccd92fe498bd346333fe63b68aedf427f948f70d8ed7ce706d302cb975c1ab899d911e87060d5a4243
+DIST libnfc-1.7.1.tar.bz2 484309 SHA256 945e74d8e27683f9b8a6f6e529557b305d120df347a960a6a7ead6cb388f4072 SHA512 6a03d197c450c0ab8f2d16ae8c1f80e206fa909ece84a32dbb962acd0f7ef693a419608cdaa4c2207a1d2593599e44479520d7413eace7fca19d3230442e506c WHIRLPOOL 005b88b81ed4ca1e6a6a3af3ad713804979b60bde0c440537f555ab973d3654101d6d5aceaf92d75f0f839008b6b722f4610d041b3ea89f88ca9526ac8707573
diff --git a/dev-libs/libnfc/libnfc-1.7.0-r1.ebuild b/dev-libs/libnfc/libnfc-1.7.0-r1.ebuild
index fb08e9faae3d..8f91f478ca6e 100644
--- a/dev-libs/libnfc/libnfc-1.7.0-r1.ebuild
+++ b/dev-libs/libnfc/libnfc-1.7.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -16,7 +16,7 @@ KEYWORDS="~amd64 ~arm ~x86"
IUSE="doc pcsc-lite readline static-libs usb"
RDEPEND="pcsc-lite? ( sys-apps/pcsc-lite )
- readline? ( sys-libs/readline )
+ readline? ( sys-libs/readline:0 )
usb? ( virtual/libusb:0 )"
DEPEND="${RDEPEND}
doc? ( app-doc/doxygen )"
diff --git a/dev-libs/libnfc/libnfc-1.7.1.ebuild b/dev-libs/libnfc/libnfc-1.7.1.ebuild
new file mode 100644
index 000000000000..1fcdb5bcce31
--- /dev/null
+++ b/dev-libs/libnfc/libnfc-1.7.1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit toolchain-funcs
+
+DESCRIPTION="Near Field Communications (NFC) library"
+HOMEPAGE="http://www.libnfc.org/"
+SRC_URI="https://github.com/nfc-tools/${PN}/releases/download/${P}/${P}.tar.bz2"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="doc pcsc-lite readline static-libs usb"
+
+RDEPEND="pcsc-lite? ( sys-apps/pcsc-lite )
+ readline? ( sys-libs/readline:0 )
+ usb? ( virtual/libusb:0 )"
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen )"
+
+src_configure() {
+ local drivers="arygon,pn532_uart,pn532_spi,pn532_i2c,acr122s"
+ use pcsc-lite && drivers+=",acr122_pcsc"
+ use usb && drivers+=",pn53x_usb,acr122_usb"
+ econf \
+ --with-drivers="${drivers}" \
+ $(use_enable doc) \
+ $(use_with readline) \
+ $(use_enable static-libs static)
+}
+
+src_compile() {
+ default
+ use doc && doxygen
+}
+
+src_install() {
+ default
+ use static-libs || find "${ED}" -name 'lib*.la' -delete
+ use doc && dohtml "${S}"/doc/html/*
+}