You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-misc/binwalk/binwalk-2.0.1.ebuild

43 lines
839 B

# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
PYTHON_COMPAT=( python{2_7,3_4} )
inherit distutils-r1
DESCRIPTION="A tool for identifying files embedded inside firmware images"
HOMEPAGE="https://github.com/devttys0/binwalk"
SRC_URI="https://github.com/devttys0/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="graph"
RDEPEND="
app-crypt/ssdeep
sys-apps/file[${PYTHON_USEDEP}]
graph? ( dev-python/pyqtgraph[opengl,${PYTHON_USEDEP}] )
"
PATCHES=(
"${FILESDIR}"/${P}-makefile.patch
"${FILESDIR}"/${P}-libs.patch
)
python_configure_all() {
econf --disable-bundles
}
python_compile_all() {
emake
}
python_install_all() {
local DOCS=( API.md INSTALL.md )
distutils-r1_python_install_all
dolib.so src/C/*/*.so
}