diff options
Diffstat (limited to 'net-wireless/killerbee')
-rw-r--r-- | net-wireless/killerbee/Manifest | 1 | ||||
-rw-r--r-- | net-wireless/killerbee/killerbee-9999.ebuild | 47 |
2 files changed, 48 insertions, 0 deletions
diff --git a/net-wireless/killerbee/Manifest b/net-wireless/killerbee/Manifest new file mode 100644 index 00000000..6e3f70ca --- /dev/null +++ b/net-wireless/killerbee/Manifest @@ -0,0 +1 @@ +EBUILD killerbee-9999.ebuild 901 RMD160 8136517e65d1ea4db6a887a8f8170ce0a4ee3e20 SHA1 f80a75fa959b1d1899ea9f70e4dc3b22a796864a SHA256 846c6a109e2a4b8d051b9d027c9bdca9889a06431bf9cfc681d4bd4c3ee6df2f diff --git a/net-wireless/killerbee/killerbee-9999.ebuild b/net-wireless/killerbee/killerbee-9999.ebuild new file mode 100644 index 00000000..1324527b --- /dev/null +++ b/net-wireless/killerbee/killerbee-9999.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=3 + +inherit subversion distutils + +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="doc" + +DEPEND="doc? ( dev-python/epydoc ) + ${RDEPEND}" +RDEPEND="dev-python/pycairo + dev-python/pyusb + dev-python/pycrypto + dev-python/pygtk" + +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 +} |