瀏覽代碼

Second ncurses library for toxic

Bob Mottram 6 年之前
父節點
當前提交
bba4d55118
共有 1 個文件被更改,包括 6 次插入4 次删除
  1. 6
    4
      src/freedombone-app-tox

+ 6
- 4
src/freedombone-app-tox 查看文件

@@ -510,7 +510,8 @@ function mesh_tox_node {
510 510
         chroot "${rootdir}" /bin/bash -x <<EOF
511 511
 cd ${INSTALL_DIR}/toxcore
512 512
 autoreconf -i
513
-./configure --enable-daemon
513
+./configure --enable-daemon --prefix=/usr/local
514
+make clean
514 515
 make
515 516
 make install
516 517
 EOF
@@ -518,7 +519,8 @@ EOF
518 519
         /bin/bash -x <<EOF
519 520
 cd ${INSTALL_DIR}/toxcore
520 521
 autoreconf -i
521
-./configure --enable-daemon
522
+./configure --enable-daemon --prefix=/usr/local
523
+make clean
522 524
 make
523 525
 make install
524 526
 EOF
@@ -690,11 +692,11 @@ function mesh_tox_client {
690 692
     if [ "${rootdir}" ]; then
691 693
         chroot "${rootdir}" apt-get -yq install libncursesw5-dev libconfig-dev libqrencode-dev
692 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 696
     else
695 697
         apt-get -yq install libncursesw5-dev libconfig-dev libqrencode-dev
696 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 700
     fi
699 701
 
700 702
     TEMP_SCRIPT_NAME=fbtmp728353.sh