void-packages/srcpkgs/binwalk/template

21 lines
685 B
Bash

# Template build file for 'binwalk'.
pkgname=binwalk
version=2.0.1
revision=1
hostmakedepends="python"
depends="python libmagic libfuzzy"
build_style="gnu-configure"
configure_args="--disable-libmagic --disable-libfuzzy --host=$XBPS_CROSS_TRIPLET"
pycompile_module="binwalk"
short_desc="Easy tool for analyzing/reversing/extracting firmware images"
maintainer="Duncaen <duncaen@voidlinux.eu>"
homepage="http://www.binwalk.org"
license="MIT"
distfiles="https://github.com/devttys0/${pkgname}/archive/v${version}.tar.gz"
checksum=90ee8426d71e91b62dfe4a1446c457bc7835b475b28717859e275a0494403959
do_install() {
python setup.py install --root=${DESTDIR} --no-compile
vlicense LICENSE
}