2017-07-01 22:20:30 +02:00
|
|
|
|
# Description: Gömülü (embedded) dosyalarda binary görüntüyü aramak için kullanılan bir araç.
|
|
|
|
|
# URL: http://binwalk.org
|
|
|
|
|
# Packager: yakar (aydin@komutan.org)
|
2017-07-02 00:17:14 +02:00
|
|
|
|
# Depends on: python-magic python-opengl python-pip python python-setuptools
|
2017-07-01 22:20:30 +02:00
|
|
|
|
|
|
|
|
|
name=binwalk
|
|
|
|
|
version=2.1.1
|
|
|
|
|
release=1
|
|
|
|
|
source=(https://github.com/devttys0/$name/archive/v${version}.tar.gz)
|
|
|
|
|
|
|
|
|
|
build() {
|
|
|
|
|
cd "$SRC/$name-$version"
|
|
|
|
|
|
|
|
|
|
python2 setup.py build
|
|
|
|
|
|
|
|
|
|
mkdir -p "$PKG/opt"
|
|
|
|
|
|
|
|
|
|
python2 setup.py install --root="$PKG" --optimize=1
|
|
|
|
|
|
|
|
|
|
install -Dm644 -t "$PKG/usr/share/doc/$name" README.md INSTALL.md API.md
|
|
|
|
|
#install -Dm644 LICENSE "$PKG/usr/share/licenses/$name/LICENSE"
|
|
|
|
|
|
|
|
|
|
#ln -sf /usr/share/firmware-mod-kit "$PKG/opt/firmware-mod-kit"
|
|
|
|
|
}
|