aboutsummaryrefslogtreecommitdiffstats
path: root/testing/binwalk
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-09-23 08:00:45 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-09-23 08:00:49 +0000
commitad27867d2952cfbe64f4412564b85f6459e68e2c (patch)
treeaaa204a51b41429be4a75edc9b6c039275f29dc6 /testing/binwalk
parent5b9231dfb11e9e8b557d2c84de5de84399ab7b80 (diff)
downloadaports-ad27867d2952cfbe64f4412564b85f6459e68e2c.tar.bz2
aports-ad27867d2952cfbe64f4412564b85f6459e68e2c.tar.xz
testing/binwalk: new aport
Diffstat (limited to 'testing/binwalk')
-rw-r--r--testing/binwalk/APKBUILD27
1 files changed, 27 insertions, 0 deletions
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 <fcolista@alpinelinux.org>
+# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
+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"