# Distributed under the terms of the GNU General Public License v2 inherit eutils MY_P="WepDecrypt-${PV}" DESCRIPTION="Enhanced version of WepAttack a tool for breaking 802.11 WEP keys" HOMEPAGE="http://wepdecrypt.sourceforge.net/" SRC_URI="mirror://sourceforge/wepdecrypt/${MY_P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="x86 ~amd64" IUSE="" DEPEND="sys-libs/zlib virtual/libpcap dev-libs/openssl" src_compile() { local myconf econf || die emake || die } src_install() { dobin src/wepdecrypt run/wepdecrypt_{inc,word} || die insinto /etc doins conf/wepdecrypt.conf doman doc/wepdecrypt.1.gz dodoc CHANGELOG README doc/manual.html doc/manual.txt }