aboutsummaryrefslogtreecommitdiffstats
path: root/testing/binwalk/APKBUILD
blob: 640aa8913b24d08e71f0d0e676324a397e21e224 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=binwalk
pkgver=2.1.1
pkgrel=1
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"