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/killerbee/killerbee-9999.ebuild |
Added ebuilds for kogaion desktop
Diffstat (limited to 'net-wireless/killerbee/killerbee-9999.ebuild')
-rw-r--r-- | net-wireless/killerbee/killerbee-9999.ebuild | 47 |
1 files changed, 47 insertions, 0 deletions
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 +} |