diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:57:42 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:57:42 +0100 |
commit | 1798c4aeca70ac8d0a243684d6a798fbc65735f8 (patch) | |
tree | e48e19cb6fa03de18e1c63e1a93371b7ebc4eb56 /dev-libs/libnfc/libnfc-1.5.1-r1.ebuild | |
parent | d87262dd706fec50cd150aab3e93883b6337466d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-libs/libnfc/libnfc-1.5.1-r1.ebuild')
-rw-r--r-- | dev-libs/libnfc/libnfc-1.5.1-r1.ebuild | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/dev-libs/libnfc/libnfc-1.5.1-r1.ebuild b/dev-libs/libnfc/libnfc-1.5.1-r1.ebuild deleted file mode 100644 index 8621ed61ec10..000000000000 --- a/dev-libs/libnfc/libnfc-1.5.1-r1.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="4" - -inherit eutils 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.gz" - -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_prepare() { - epatch "${FILESDIR}/${PN}-1.5.1-glibc-2.17.patch" -} - -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/* -} |