Create rtinst.sh

This commit is contained in:
arakasi72
2017-06-12 12:15:02 +01:00
committed by GitHub
parent a1dfb4e559
commit 997f7e8f2f
+3 -3
View File
@@ -566,9 +566,9 @@ if [ $install_rt = 0 ]; then
svn co $xmlrpcloc xmlrpc >> $logfile 2>&1 || error_exit "Unable to download xmlrpc source files from https://svn.code.sf.net/p/xmlrpc-c/code/stable"
if [ "$relno" = "9" ]; then
if [ $relno -eq 9 ]; then
git clone -q -b feature-bind --single-branch https://github.com/rakshasa/libtorrent.git libtorrent-$libtorrentrel
git clone -q -b feature-bind --single-branch https://github.com/rakshasa/rtorrent.git libtorrent-$libtorrentrel
git clone -q -b feature-bind --single-branch https://github.com/rakshasa/rtorrent.git rtorrent-$libtorrentrel
else
curl -# $libtorrentloc | tar xz >> $logfile 2>&1 || error_exit "Unable to download libtorrent source files from http://libtorrent.rakshasa.no/downloads"
curl -# $rtorrentloc | tar xz >> $logfile 2>&1 || error_exit "Unable to download rtorrent source files from http://libtorrent.rakshasa.no/downloads"
@@ -591,7 +591,7 @@ if [ $install_rt = 0 ]; then
make -j2 >> $logfile 2>&1
make install >> $logfile 2>&1
cd ../libtorrent-$libtorrentrel
cd ../rtorrent-$rtorrentrel
echo "Installing rtorrent" | tee -a $logfile
./autogen.sh >> $logfile 2>&1
./configure --prefix=/usr --with-xmlrpc-c >> $logfile 2>&1