diff options
Diffstat (limited to 'net-wireless/wepdecrypt/wepdecrypt-0.7.ebuild')
-rw-r--r-- | net-wireless/wepdecrypt/wepdecrypt-0.7.ebuild | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/net-wireless/wepdecrypt/wepdecrypt-0.7.ebuild b/net-wireless/wepdecrypt/wepdecrypt-0.7.ebuild new file mode 100644 index 000000000000..c0bfc369975c --- /dev/null +++ b/net-wireless/wepdecrypt/wepdecrypt-0.7.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/wepdecrypt/wepdecrypt-0.7.ebuild,v 1.1 2005/08/22 14:22:56 dragonheart Exp $ + +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" +#Please don't add ppc as wepdecrypt doesn't work under ppc +KEYWORDS="~x86" +IUSE="X" + +RDEPEND="X? ( >=x11-libs/fltk-1.1.6 ) + sys-libs/zlib + virtual/libpcap + dev-libs/openssl" + +DEPEND="${RDEPEND}" + +src_compile() { + local conf + if ! use X + then + conf=--disable-gui + fi + econf ${conf} || die "econf failed" + emake || die "emake failed" +} + + +src_install() { + dobin src/wepdecrypt run/wepdecrypt_{inc,word} || die + + if use X; then + dobin src/gwepdecrypt || die + fi + + insinto /etc + doins conf/wepdecrypt.conf + doman doc/wepdecrypt.1.gz + dodoc CHANGELOG README doc/manual.html doc/manual.txt +} + |