radare2/sys/python-bindist.sh

17 lines
306 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