# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit autotools MY_PV="${PV/./-v}" MY_P="${PN}${MY_PV}" DESCRIPTION="MDK is a proof-of-concept tool to exploit common IEEE 802.11 protocol weaknesses" HOMEPAGE="http://homepages.tu-darmstadt.de/~p_larbig/wlan/" SRC_URI="http://homepages.tu-darmstadt.de/~p_larbig/wlan/${MY_P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND="" S="${WORKDIR}/${MY_P}" src_unpack() { unpack ${A} cd ${S} epatch "${FILESDIR}"/${P}-fix-parallel-build.diff sed -e '/^CFLAGS/d' \ -i Makefile || die "sed failed" } src_install() { dobin mdk3 dohtml docs/* dodoc AUTHORS CHANGELOG COPYING TODO }