# Copyright 1999-2017 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit autotools DESCRIPTION="a library for high level manipulation of MIFARE tags" HOMEPAGE="https://github.com/nfc-tools/libfreefare" if [[ ${PV} == "9999" ]] ; then inherit git-r3 EGIT_REPO_URI="https://github.com/nfc-tools/libfreefare.git" else SRC_URI="https://github.com/nfc-tools/libfreefare/archive/${P}.tar.gz" KEYWORDS="~amd64" S="${WORKDIR}"/"${PN}-${P}" fi LICENSE="GPL-3" SLOT="0" DEPEND=" dev-libs/libnfc:= dev-libs/openssl:= virtual/libusb:0 " RDEPEND="${DEPEND}" src_prepare() { eapply_user eautoreconf }