aboutsummaryrefslogtreecommitdiffstats
path: root/dev-util/mfoc/mfoc-9999.ebuild
blob: ec1861fdd3eef9c3a45572bbf3a46e0ff0bf2496 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# 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 Offline Cracker is a tool that can recover keys from Mifare Classic cards"
HOMEPAGE="http://code.google.com/p/nfc-tools/"
ESVN_REPO_URI="http://nfc-tools.googlecode.com/svn/trunk/mfoc/"
ESVN_PROJECT="mfoc"

LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~x86 ~amd64"

CDEPEND=">=dev-libs/libnfc-1.5.1"
RDEPEND="${CDEPEND}"

src_prepare() {
	epatch "${FILESDIR}/mfoc-fix-segfault.patch"
	eautoreconf || die "autoreconf failed"
}

src_install() {
	emake DESTDIR="${D}" install || die "Install failed"
	dodoc README ChangeLog AUTHORS NEWS TODO || die
}