void-packages/srcpkgs/binwalk/template
2019-10-17 22:20:41 +02:00

28 lines
727 B
Bash

# Template file for 'binwalk'
pkgname=binwalk
version=2.2.0
revision=1
archs=noarch
build_style=python3-module
pycompile_module="binwalk"
hostmakedepends="python3"
depends="python3"
checkdepends="python3-nose"
short_desc="Easy tool for analyzing/reversing/extracting firmware images"
maintainer="Duncaen <duncaen@voidlinux.org>"
license="MIT"
homepage="https://github.com/ReFirmLabs/binwalk"
distfiles="https://github.com/ReFirmLabs/binwalk/archive/v${version}.tar.gz"
checksum=f5495f0e4c5575023d593f7c087c367675df6aeb7f4d9a2966e49763924daa27
post_extract() {
vsed -i -e 's;/etc/bash_completion.d/%s;%s.bash;' setup.py
}
do_check() {
PYTHONPATH="${wrksrc}/src" python3 setup.py test
}
post_install() {
vlicense LICENSE
}