blob: 8a52cc94753d6a675f4e0ca042001369f5134175 (
plain) (
tree)
|
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
inherit eutils subversion autotools
DESCRIPTION="MiFare Classic Universal toolKit"
HOMEPAGE="http://code.google.com/p/mfcuk/"
ESVN_REPO_URI="http://mfcuk.googlecode.com/svn/trunk/"
ESVN_PROJECT="mfuck"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
CDEPEND=">=dev-libs/libnfc-1.5.1"
RDEPEND="${CDEPEND}"
src_prepare() {
epatch "${FILESDIR}/mfcuk-fix-data-path.patch"
eautoreconf || die "autoreconf failed"
}
src_install() {
emake DESTDIR="${D}" install || die "Install failed"
dodoc README ChangeLog AUTHORS NEWS TODO || die
insinto "/usr/share/${PN}"
doins -r "src/data/"
}
|