blob: bb8f29182340a5affee5a728666810038b73b016 (
plain) (
tree)
|
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
inherit eutils
DESCRIPTION="Mifare Classic Offline Cracker is a tool that can recover keys from Mifare Classic cards"
HOMEPAGE="http://code.google.com/p/mfoc/"
SRC_URI="http://mfoc.googlecode.com/files/${P}.tar.bz2"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~x86 ~amd64"
CDEPEND=">=dev-libs/libnfc-1.4.0"
RDEPEND="${CDEPEND}"
src_prepare() {
epatch "${FILESDIR}/mfoc-fix-segfault.patch"
}
src_install() {
emake DESTDIR="${D}" install || die "Install failed"
dodoc README ChangeLog AUTHORS NEWS TODO || die
}
|