* 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
This commit is contained in:
pancake 2011-11-25 15:26:05 +01:00
parent 2db05920e4
commit 5889716c88
5 changed files with 22 additions and 3 deletions

View file

@ -194,7 +194,7 @@ install-perl:
fi
install-vapi:
@${INSTALL_DIR} ${DESTDIR}${PREFIX}/share/vala/vapi
mkdir -p ${DESTDIR}${PREFIX}/share/vala/vapi
${INSTALL_DATA} vapi/*.vapi vapi/*.deps ${DESTDIR}${PREFIX}/share/vala/vapi
EXAMPLEDIR=${DESTDIR}${PREFIX}/share/radare2-swig

View file

@ -1,3 +1,9 @@
#!/bin/sh
case "$1" in
--version|--help)
# do nothing here
;;
*)
#[ ! -f supported.langs ] &&
./configure-langs $@
./configure-langs $@
esac

View file

@ -18,7 +18,7 @@ REMOTEDIR=""
TARGETS="
build
bindist
dist-bin
python-dist
mingw32
android-arm

13
sys/python-bindist.sh Executable file
View file

@ -0,0 +1,13 @@
#!/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