Code: Alles auswählen
#!/bin/bash
svnURL="http://streamboard.gmc.to/svn/oscam/tags/1.10"
#svnURL="http://streamboard.gmc.to/svn/oscam/trunk"
rm -rf /tmp/oscam-svn
svn co $svnURL /tmp/oscam-svn
[ $? -ne "0" ] && echo "svn FAILED" && exit 1
cd /tmp/oscam-svn
./config.sh -g
mkdir build
cd build
cmake .. && make
[ $? -ne "0" ] && echo "compile FAILED" && exit 1
#oscam stop
#mv oscam /var/emu/oscam/oscam.x86
#oscam start
exit 0