radare2/sys/python-bindist.sh
pancake 5889716c88 * Various fixes in sys/
* Added dist-bin.sh and python-bindist.sh
  - Fixes paths and pkgnames

--HG--
rename : sys/bindist.sh => sys/dist-bin.sh
2011-11-25 15:26:05 +01:00

14 lines
276 B
Bash
Executable File

#!/bin/sh
cd `dirname $PWD/$0`
D=${PWD}/../prefix-install
./python.sh --no-install
cd ../r2-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