fixed dependencies

This commit is contained in:
csoler 2017-12-31 18:15:19 +01:00
parent da5253059a
commit 6feb1bc0ec
2 changed files with 13 additions and 9 deletions

View File

@ -58,6 +58,11 @@ while [ ${#} -gt 0 ]; do
esac
done
if test "${useretrotor}" = "true"; then
gitpath="https://github.com/csoler/RetroShare.git"
branch="v0.6-TorOnly"
fi
if test "${dist}" = "" ; then
dist="precise trusty xenial zesty artful"
fi
@ -91,7 +96,7 @@ echo Extracting base archive...
mkdir -p ${workdir}/src
echo Checking out latest snapshot...
cd ${workdir}/src
git clone --depth 1 https://github.com/RetroShare/RetroShare.git --single-branch --branch $branch .
git clone --depth 1 ${gitpath} --single-branch --branch $branch .
# if ! test "$hhsh" = "" ; then
# echo Checking out revision $hhsh
@ -131,9 +136,8 @@ for i in ${dist}; do
if test ${useretrotor} = "true"; then
cp ../rules.retrotor debian/rules
fi
if test -f ../control."${i}" ; then
cp ../control.trusty_retrotor debian/control
elif test -f ../control."${i}" ; then
echo \/\!\\ Using specific control file for distribution "${i}"
cp ../control."${i}" debian/control
else

View File

@ -3,7 +3,7 @@
configure: configure-stamp
configure-stamp:
dh_testdir
cd src && qmake "CONFIG-=debug" "CONFIG+=release" "CONFIG+=rs_autologin" PREFIX=/usr LIB_DIR=/usr/lib RetroShare.pro
cd src && qmake "CONFIG-=debug" "CONFIG+=release retrotor" "CONFIG+=rs_autologin" PREFIX=/usr LIB_DIR=/usr/lib RetroShare.pro
touch $@