mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-28 23:50:40 +00:00
17 lines
326 B
Bash
Executable File
17 lines
326 B
Bash
Executable File
#!/bin/sh
|
|
cd "$(dirname "$PWD/$0")"
|
|
|
|
./clone-r2-bindings.sh
|
|
|
|
D="${PWD}/../prefix-install"
|
|
./python.sh --no-install
|
|
|
|
cd ../radare2-bindings
|
|
P=$(./configure --version|head -n 1|cut -d ' ' -f 1)
|
|
sudo make install-vapi DESTDIR="$D"
|
|
cd python
|
|
sudo make install DESTDIR="$D"
|
|
cd "$D"
|
|
tar czvf "../$P-bin.tar.gz" ./*
|
|
sudo rm -rf "$D"
|