From 504e51dfdbca247ae4c0bb71d5213f649496b779 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Wed, 6 Jun 2012 01:56:31 +0200 Subject: dev-libs/libnfc: version bump --- dev-libs/libnfc/libnfc-1.6.0_rc1.ebuild | 35 +++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 dev-libs/libnfc/libnfc-1.6.0_rc1.ebuild (limited to 'dev-libs/libnfc/libnfc-1.6.0_rc1.ebuild') diff --git a/dev-libs/libnfc/libnfc-1.6.0_rc1.ebuild b/dev-libs/libnfc/libnfc-1.6.0_rc1.ebuild new file mode 100644 index 0000000..00b1e3e --- /dev/null +++ b/dev-libs/libnfc/libnfc-1.6.0_rc1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="2" + +inherit eutils versionator + +DESCRIPTION="Near Field Communications (NFC) library" +HOMEPAGE="http://www.libnfc.org/" + +MY_P="${PN}-$(replace_version_separator 3 "-")" +SRC_URI="http://${PN}.googlecode.com/files/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="doc" + +CDEPEND="sys-apps/pcsc-lite + dev-libs/libusb" +DEPEND="${CDEPEND} + doc? ( app-doc/doxygen )" +RDEPEND="${CDEPEND}" + +src_compile() { + emake || die "Failed to compile." + use doc && doxygen +} + +src_install() { + emake install DESTDIR="${D}" || die "Failed to install properly." + use doc && dohtml "${S}"/doc/html/* +} -- cgit v1.2.3