mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-01-19 06:32:15 +01:00
56 lines
1.4 KiB
Bash
56 lines
1.4 KiB
Bash
# Copyright 1999-2018 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=6
|
|
|
|
PYTHON_COMPAT=( python2_7 )
|
|
#DISTUTILS_SINGLE_IMPL=1
|
|
|
|
inherit distutils-r1
|
|
|
|
if [[ ${PV} == "9999" ]]; then
|
|
inherit git-r3
|
|
EGIT_REPO_URI="https://github.com/riverloopsec/killerbee.git"
|
|
KEYWORDS=""
|
|
else
|
|
COMMIT_HASH="b803708ff0c63612cfb0092e7714c2ae7d257f4b"
|
|
SRC_URI="https://github.com/riverloopsec/killerbee/archive/${COMMIT_HASH}.tar.gz -> ${P}.tar.gz"
|
|
KEYWORDS="~amd64 ~arm ~x86"
|
|
S="${WORKDIR}/${PN}-${COMMIT_HASH}"
|
|
fi
|
|
|
|
DESCRIPTION="Framework and Tools for Attacking ZigBee and IEEE 802.15.4 networks"
|
|
HOMEPAGE="https://github.com/riverloopsec/killerbee"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
IUSE=""
|
|
|
|
RDEPEND="dev-python/pyserial[${PYTHON_USEDEP}]
|
|
dev-python/pyusb[${PYTHON_USEDEP}]
|
|
dev-python/pycryptodome[${PYTHON_USEDEP}]
|
|
dev-python/pygtk[${PYTHON_USEDEP}]
|
|
dev-python/pycairo[${PYTHON_USEDEP}]
|
|
dev-python/rangeparser[${PYTHON_USEDEP}]
|
|
dev-libs/libgcrypt:=
|
|
>=net-analyzer/scapy-2.4.0_p20180626"
|
|
#DEPEND="doc? ( dev-python/epydoc )
|
|
DEPEND="${RDEPEND}"
|
|
#FIXME: https://bitbucket.org/secdev/scapy-com
|
|
|
|
#FIXME: doc fails to comiple
|
|
#python_compile_all() {
|
|
# ewarn "running compile_all"
|
|
# distutils-r1_python_compile
|
|
# if use doc; then
|
|
# mkdir pdf
|
|
# epydoc --pdf -o pdf killerbee/
|
|
# fi
|
|
#}
|
|
|
|
#python_install_all() {
|
|
# distutils-r1_src_install
|
|
# if use doc; then
|
|
# dodoc "${S}/pdf/*.tex"
|
|
# fi
|
|
#}
|