Fix toxcore installation
This commit is contained in:
parent
15d71bafb9
commit
1308cf69ac
|
@ -479,13 +479,13 @@ function mesh_tox_node {
|
|||
chroot "${rootdir}" apt-get -yq install automake checkinstall check git yasm
|
||||
chroot "${rootdir}" apt-get -yq install libsodium18 libsodium-dev libcap2-bin
|
||||
chroot "${rootdir}" apt-get -yq install libconfig9 libconfig-dev autoconf
|
||||
chroot "${rootdir}" apt-get -yq install libopus-dev libvpx-dev
|
||||
chroot "${rootdir}" apt-get -yq install libopus-dev libvpx-dev cmake
|
||||
else
|
||||
apt-get -yq install build-essential libtool autotools-dev
|
||||
apt-get -yq install automake checkinstall check git yasm
|
||||
apt-get -yq install libsodium18 libsodium-dev libcap2-bin
|
||||
apt-get -yq install libconfig9 libconfig-dev autoconf
|
||||
apt-get -yq install libopus-dev libvpx-dev
|
||||
apt-get -yq install libopus-dev libvpx-dev cmake
|
||||
fi
|
||||
|
||||
if [ ! -d "${rootdir}${INSTALL_DIR}" ]; then
|
||||
|
@ -509,18 +509,20 @@ function mesh_tox_node {
|
|||
if [ "${rootdir}" ]; then
|
||||
chroot "${rootdir}" /bin/bash -x <<EOF
|
||||
cd ${INSTALL_DIR}/toxcore
|
||||
autoreconf -i
|
||||
./configure --enable-daemon --prefix=/usr/local
|
||||
make clean
|
||||
./autogen.sh
|
||||
mkdir _build
|
||||
cd _build || exit 1
|
||||
cmake ..
|
||||
make
|
||||
make install
|
||||
EOF
|
||||
else
|
||||
/bin/bash -x <<EOF
|
||||
cd ${INSTALL_DIR}/toxcore
|
||||
autoreconf -i
|
||||
./configure --enable-daemon --prefix=/usr/local
|
||||
make clean
|
||||
./autogen.sh
|
||||
mkdir _build
|
||||
cd _build || exit 1
|
||||
cmake ..
|
||||
make
|
||||
make install
|
||||
EOF
|
||||
|
|
Loading…
Reference in New Issue