mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-05 11:00:48 +02:00
killerbee first pass (zigbee sniffing)
This commit is contained in:
parent
b5c3979573
commit
d12412aa0e
2 changed files with 57 additions and 0 deletions
2
net-wireless/killerbee/Manifest
Normal file
2
net-wireless/killerbee/Manifest
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
EBUILD killerbee-9999.ebuild 1180 RMD160 4ae96a6d12c1994305c5aa56feb799e93c94bcb0 SHA1 cb42988f7db41ff6835e7b46c969601444565139 SHA256 987776f7d3c3e4d359530ab1751c9b377cf6e9f4c82ab8df32170cbb1eaa41ce
|
||||
MISC blah 24 RMD160 feb80803d67e42dae098312fe3af24a481d3b05a SHA1 e3db4f6726626fc0e157cca58f5638f8b21e7e56 SHA256 9744e1f081241025a0b2159ed437dffe319195e1a20f2c4bc92dd7e4b5a9ef9d
|
||||
55
net-wireless/killerbee/killerbee-9999.ebuild
Normal file
55
net-wireless/killerbee/killerbee-9999.ebuild
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
inherit toolchain-funcs subversion distutils
|
||||
|
||||
EAPI=2
|
||||
|
||||
DESCRIPTION="KillerBee is a framework and tool set for testing of ZigBee and IEEE 802.15.4 networks"
|
||||
HOMEPAGE="http://killerbee.googlecode.com"
|
||||
SRC_URI=""
|
||||
ESVN_REPO_URI="http://killerbee.googlecode.com/svn/trunk/killerbee"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64 ~x86"
|
||||
IUSE="speed doc"
|
||||
|
||||
DEPEND="doc? ( dev-python/epydoc )
|
||||
${RDEPEND}"
|
||||
RDEPEND="dev-python/pycairo
|
||||
dev-python/pyusb
|
||||
dev-python/pycrypto
|
||||
dev-python/pygtk
|
||||
speed? ( x86? ( dev-python/psyco ) )"
|
||||
|
||||
src_prepare() {
|
||||
#speed/psyco should automatically be disabled on all arches besides x86
|
||||
if use speed; then if use !x86; then einfo "Psyco (speed) support only available for x86."; fi; fi
|
||||
#add psyco support here
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if use doc; then
|
||||
mkdir pdf
|
||||
epydoc --pdf -o pdf killerbee/
|
||||
fi
|
||||
ewarn "I'm too lazy to make the docs ship, feel free to fix it."
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
if use doc; then
|
||||
dodoc "${S}/pdf/*.tex"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
python_mod_optimize
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_mod_cleanup
|
||||
}
|
||||
|
||||
Loading…
Reference in a new issue