milis/talimatname/genel/b/binwalk/talimat

21 lines
700 B
Plaintext
Raw Normal View History

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-12-22 23:19:06 +01:00
# Paketçi: yakar(aydin@komutan.org)
2017-10-27 20:46:27 +02:00
# Gerekler: python-magic python-opengl python-pip python python-setuptools
2017-12-22 23:19:06 +01:00
# Grup: sistem
2017-07-01 22:20:30 +02:00
2017-10-28 14:10:23 +02:00
isim=binwalk
surum=2.1.1
devir=1
kaynak=(https://github.com/devttys0/$isim/archive/v${surum}.tar.gz)
2017-07-01 22:20:30 +02:00
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:10:23 +02:00
cd "$SRC/$isim-$surum"
2017-07-01 22:20:30 +02:00
python2 setup.py build
mkdir -p "$PKG/opt"
python2 setup.py install --root="$PKG" --optimize=1
2017-10-28 14:10:23 +02:00
install -Dm644 -t "$PKG/usr/share/doc/$isim" README.md INSTALL.md API.md
#install -Dm644 LICENSE "$PKG/usr/share/licenses/$isim/LICENSE"
2017-07-01 22:20:30 +02:00
#ln -sf /usr/share/firmware-mod-kit "$PKG/opt/firmware-mod-kit"
}