Use radare2-bindings instead of r2-bindings

This commit is contained in:
pancake 2013-12-20 02:22:42 +01:00
parent 4b1dfa63de
commit a21527ba47
7 changed files with 11 additions and 10 deletions

View File

@ -1,7 +1,7 @@
#!/bin/sh
cd `dirname $PWD/$0`/..
if [ -d r2-bindings ]; then
cd r2-bindings
if [ -d radare2-bindings ]; then
cd radare2-bindings
git pull
else
URL=`doc/repo BINDINGS`
@ -9,5 +9,5 @@ else
echo "No BINDINGS URL in doc/repo"
exit 1
fi
git clone $URL r2-bindings
git clone $URL radare2-bindings
fi

View File

@ -5,7 +5,7 @@ sys/clone-r2-bindings.sh
sys/install.sh
make dist
cd r2-bindings
cd radare2-bindings
./configure --prefix=/usr --enable-devel
make mrproper
cd python
@ -16,7 +16,7 @@ make dist
DD=/tmp/r2
rm -rf $DD
mkdir -p $DD
cp ../r2-bindings-`make version`.tar.gz $DD
cp ../radare2-bindings-`make version`.tar.gz $DD
cd ..
cp ../radare2-`make version`.tar.gz $DD
echo distribution tarballs have been copied to $DD

View File

@ -19,7 +19,7 @@ else
fi
[ -n "${NOSUDO}" ] && SUDO=
cd r2-bindings
cd radare2-bindings
./configure --prefix=${PREFIX} --enable=lua || exit 1
cd lua
make clean

View File

@ -1,7 +1,8 @@
#!/bin/sh
cd `dirname $PWD/$0`
./clone-r2-bindings.sh
cd ../r2-bindings
cd ../radare2-bindings
if [ -x /usr/bin/i686-w64-mingw32-gcc ]; then
C=i686-w64-mingw32-gcc
H=i686-unknown-windows

View File

@ -6,7 +6,7 @@ cd `dirname $PWD/$0`
D=${PWD}/../prefix-install
./python.sh --no-install
cd ../r2-bindings
cd ../radare2-bindings
P=`./configure --version|head -n 1|cut -d ' ' -f 1`
sudo make install-vapi DESTDIR=$D
cd python

View File

@ -2,5 +2,5 @@
cd `dirname $PWD/$0`
./python.sh --no-install
./clone-r2-bindings.sh
cd ../r2-bindings
cd ../radare2-bindings
make dist

View File

@ -28,7 +28,7 @@ PYTHON_CONFIG="python${PYTHON_VERSION}-config"
echo "Using PYTHON_CONFIG ${PYTHON_CONFIG}"
echo
cd r2-bindings
cd radare2-bindings
./configure --prefix=${PREFIX} --enable=python || exit 1
${SUDO} make install-vapi DESTDIR=${DESTDIR} || exit 1
cd python