milis/talimatname/genel/binwalk/talimat

25 lines
706 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 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)
# Depends on: python-magic python-opengl python-pip python python-setuptools
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"
}