fixed stage1 by adding proper requirements to wifitap and bumping version

This commit is contained in:
Zero_Chaos 2009-01-25 23:11:12 +00:00
parent 0775e02687
commit 29501d0fe1

View file

@ -0,0 +1,47 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /root/portage/net-wireless/wifitap/wifitap-0.3.7.ebuild,v 1.1.1.1 2006/03/29 19:41:59 grimmlin Exp $
inherit python
DESCRIPTION="A wireless tool to do direct connection to client without passing through an AP"
HOMEPAGE="http://sid.rstack.org/index.php/Wifitap_EN"
SRC_URI="http://sid.rstack.org/code/${PN}/${P}.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE="speed"
DEPEND="virtual/python
speed? ( dev-python/psyco )
<net-analyzer/scapy-2.0"
dev-python/gnuplot-py
dev-python/pyx
S=${WORKDIR}/${PN}
src_install() {
exeinto /usr/bin
newexe wifitap.py wifitap
newexe wifidns.py wifidns
newexe wifiping.py wifiping
# also install scapy as a importable python module
python_version
insinto /usr/$(get_libdir)/python${PYVER}/site-packages
rm scapy.py
doins *.py
dodoc AUTHORS README Changelog BUGS TODO
}
pkg_postinst() {
python_mod_optimize
}
pkg_postrm() {
python_mod_cleanup
}