diff --git a/srcpkgs/binwalk/template b/srcpkgs/binwalk/template new file mode 100644 index 00000000000..480d74e167b --- /dev/null +++ b/srcpkgs/binwalk/template @@ -0,0 +1,20 @@ +# 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 " +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 +}