From ad27867d2952cfbe64f4412564b85f6459e68e2c Mon Sep 17 00:00:00 2001 From: Francesco Colista Date: Fri, 23 Sep 2016 08:00:45 +0000 Subject: testing/binwalk: new aport --- testing/binwalk/APKBUILD | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 testing/binwalk/APKBUILD diff --git a/testing/binwalk/APKBUILD b/testing/binwalk/APKBUILD new file mode 100644 index 0000000000..7628bc86d0 --- /dev/null +++ b/testing/binwalk/APKBUILD @@ -0,0 +1,27 @@ +# Contributor: Francesco Colista +# Maintainer: Francesco Colista +pkgname=binwalk +pkgver=2.1.1 +pkgrel=0 +pkgdesc="Fast, easy to use tool for analyzing and extracting firmware images" +url="http://binwalk.org/" +arch="noarch" +license="MIT" +depends="py3-crypto" +makedepends="" +source="$pkgname-$pkgver.tar.gz::https://github.com/devttys0/binwalk/archive/v$pkgver.tar.gz" +builddir="$srcdir/$pkgname-$pkgver" + +build() { + cd "$builddir" + python3 setup.py build || return 1 +} + +package() { + cd "$builddir" + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +md5sums="e5015a8d0eff287eda8c4afeeca89ed6 binwalk-2.1.1.tar.gz" +sha256sums="1b70a5b03489d29f60fef18008a2164974234874faab48a4f47ec53d461d284a binwalk-2.1.1.tar.gz" +sha512sums="373e276a4d6ec845952f1091f85f953d3b0d52d561d9b74a54000ebdef85d13cafc997a4f8f76f25842db8b76fdcd1e602d4d81792a3ea01c9dea6c6ed5c2168 binwalk-2.1.1.tar.gz" -- cgit v1.2.3