# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils autotools EAPI=3 DESCRIPTION="loki l3 attacking tool" HOMEPAGE="http://c0decafe.de" SRC_URI="http://c0decafe.de/loki/${P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="~x86 ~amd64" IUSE="" DEPEND="dev-python/pygtk dev-python/ipy dev-python/dpkt dev-python/pylibpcap dev-libs/libdnet[python]" RDEPEND="${DEPEND}" src_unpack() { unpack ${A} cd "${S}" eautoreconf } src_configure () { econf || die "econf failed" } src_compile () { emake || die "make failed" } src_install() { emake DESTDIR="${D}" install || die "make install failed" }