Browse Source

Second ncurses library for toxic

Bob Mottram 6 years ago
parent
commit
bba4d55118
1 changed files with 6 additions and 4 deletions
  1. 6
    4
      src/freedombone-app-tox

+ 6
- 4
src/freedombone-app-tox View File

510
         chroot "${rootdir}" /bin/bash -x <<EOF
510
         chroot "${rootdir}" /bin/bash -x <<EOF
511
 cd ${INSTALL_DIR}/toxcore
511
 cd ${INSTALL_DIR}/toxcore
512
 autoreconf -i
512
 autoreconf -i
513
-./configure --enable-daemon
513
+./configure --enable-daemon --prefix=/usr/local
514
+make clean
514
 make
515
 make
515
 make install
516
 make install
516
 EOF
517
 EOF
518
         /bin/bash -x <<EOF
519
         /bin/bash -x <<EOF
519
 cd ${INSTALL_DIR}/toxcore
520
 cd ${INSTALL_DIR}/toxcore
520
 autoreconf -i
521
 autoreconf -i
521
-./configure --enable-daemon
522
+./configure --enable-daemon --prefix=/usr/local
523
+make clean
522
 make
524
 make
523
 make install
525
 make install
524
 EOF
526
 EOF
690
     if [ "${rootdir}" ]; then
692
     if [ "${rootdir}" ]; then
691
         chroot "${rootdir}" apt-get -yq install libncursesw5-dev libconfig-dev libqrencode-dev
693
         chroot "${rootdir}" apt-get -yq install libncursesw5-dev libconfig-dev libqrencode-dev
692
         chroot "${rootdir}" apt-get -yq install libcurl4-openssl-dev libvpx-dev libopenal-dev
694
         chroot "${rootdir}" apt-get -yq install libcurl4-openssl-dev libvpx-dev libopenal-dev
693
-        chroot "${rootdir}" apt-get -yq install libqrencode-dev libpng-dev
695
+        chroot "${rootdir}" apt-get -yq install libqrencode-dev libpng-dev libncurses5-dev
694
     else
696
     else
695
         apt-get -yq install libncursesw5-dev libconfig-dev libqrencode-dev
697
         apt-get -yq install libncursesw5-dev libconfig-dev libqrencode-dev
696
         apt-get -yq install libcurl4-openssl-dev libvpx-dev libopenal-dev
698
         apt-get -yq install libcurl4-openssl-dev libvpx-dev libopenal-dev
697
-        apt-get -yq install libqrencode-dev libpng-dev
699
+        apt-get -yq install libqrencode-dev libpng-dev libncurses5-dev
698
     fi
700
     fi
699
 
701
 
700
     TEMP_SCRIPT_NAME=fbtmp728353.sh
702
     TEMP_SCRIPT_NAME=fbtmp728353.sh