diff options
author | 2013-09-24 13:37:47 +0000 | |
---|---|---|
committer | 2013-09-24 13:37:47 +0000 | |
commit | a692a96c64cbdfaa2e2d6743aed84e1d755b8528 (patch) | |
tree | 95d2a461993a4a74d7fbb047bb9ec12570ff6023 /dev-libs/libnfc | |
parent | Old. (diff) | |
download | gentoo-2-a692a96c64cbdfaa2e2d6743aed84e1d755b8528.tar.gz gentoo-2-a692a96c64cbdfaa2e2d6743aed84e1d755b8528.tar.bz2 gentoo-2-a692a96c64cbdfaa2e2d6743aed84e1d755b8528.zip |
NMU: Version bump. Fixes #461914.
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key )
Diffstat (limited to 'dev-libs/libnfc')
-rw-r--r-- | dev-libs/libnfc/ChangeLog | 7 | ||||
-rw-r--r-- | dev-libs/libnfc/libnfc-1.7.0.ebuild | 48 |
2 files changed, 54 insertions, 1 deletions
diff --git a/dev-libs/libnfc/ChangeLog b/dev-libs/libnfc/ChangeLog index 5cbed653cabb..036094075830 100644 --- a/dev-libs/libnfc/ChangeLog +++ b/dev-libs/libnfc/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-libs/libnfc # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libnfc/ChangeLog,v 1.11 2013/05/24 17:10:36 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libnfc/ChangeLog,v 1.12 2013/09/24 13:37:47 mrueg Exp $ + +*libnfc-1.7.0 (24 Sep 2013) + + 24 Sep 2013; Manuel Rüger <mrueg@gentoo.org> +libnfc-1.7.0.ebuild: + NMU: Version bump. Fixes #461914. *libnfc-1.5.1-r1 (24 May 2013) diff --git a/dev-libs/libnfc/libnfc-1.7.0.ebuild b/dev-libs/libnfc/libnfc-1.7.0.ebuild new file mode 100644 index 000000000000..a4b499e517b1 --- /dev/null +++ b/dev-libs/libnfc/libnfc-1.7.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libnfc/libnfc-1.7.0.ebuild,v 1.1 2013/09/24 13:37:47 mrueg Exp $ + +EAPI="4" + +inherit eutils toolchain-funcs + +DESCRIPTION="Near Field Communications (NFC) library" +HOMEPAGE="http://www.libnfc.org/" +SRC_URI="http://${PN}.googlecode.com/files/${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 ) + usb? ( virtual/libusb:0 )" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen )" + +src_configure() { + # Upstream doesn't use the right macro, so we need to force this. + # https://code.google.com/p/libnfc/issues/detail?id=249 + export ac_cv_path_PKG_CONFIG=$(tc-getPKG_CONFIG) + + local drivers="arygon,pn532_uart" + use pcsc-lite && drivers+=",acr122" + use usb && drivers+=",pn53x_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/* +} |