2017-10-27 20:46:27 +02:00
|
|
|
|
# Tanım: Gömülü (embedded) dosyalarda binary görüntüyü aramak için kullanılan bir araç.
|
2017-07-01 22:20:30 +02:00
|
|
|
|
# URL: http://binwalk.org
|
2017-10-27 20:46:27 +02:00
|
|
|
|
# Paketçi: yakar (aydin@komutan.org)
|
|
|
|
|
# Gerekler: 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"
|
|
|
|
|
}
|