diff options
author | BlackNoxis <steven.darklight@gmail.com> | 2014-02-15 23:24:26 +0200 |
---|---|---|
committer | BlackNoxis <steven.darklight@gmail.com> | 2014-02-15 23:24:26 +0200 |
commit | 7224c1253228e5c29c78cb3f0f26ce34770f2356 (patch) | |
tree | 1684924656132935256e034f35f92abee6623265 /net-wireless/wifitap/wifitap-0.4.0-r4.ebuild |
Added ebuilds for kogaion desktop
Diffstat (limited to 'net-wireless/wifitap/wifitap-0.4.0-r4.ebuild')
-rw-r--r-- | net-wireless/wifitap/wifitap-0.4.0-r4.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/net-wireless/wifitap/wifitap-0.4.0-r4.ebuild b/net-wireless/wifitap/wifitap-0.4.0-r4.ebuild new file mode 100644 index 00000000..9894af10 --- /dev/null +++ b/net-wireless/wifitap/wifitap-0.4.0-r4.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2010 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="~amd64 ~x86" +IUSE="" + +DEPEND="<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 + insinto /usr/$(get_libdir)/python$(python_get_version)/site-packages + rm scapy.py + doins *.py + + dodoc AUTHORS README Changelog BUGS TODO +} + +pkg_postinst() { + python_mod_optimize +} + +pkg_postrm() { + python_mod_cleanup +} |