updated mimic to 1.2.0.1 with gcc fix; added make install; it's working great now

pull/541/head
Arron Atchison 2017-02-24 10:07:02 -06:00
parent 2b46d12b3a
commit 754b7e7bc5
1 changed files with 5 additions and 3 deletions

View File

@ -4,7 +4,7 @@ set -Ee
MIMIC_DIR=mimic
CORES=$(nproc)
MIMIC_VERSION=1.2.0
MIMIC_VERSION=1.2.0.1
# download and install mimic
if [ ! -d ${MIMIC_DIR} ]; then
@ -12,7 +12,8 @@ if [ ! -d ${MIMIC_DIR} ]; then
cd ${MIMIC_DIR}
./autogen.sh
./configure --with-audio=alsa --enable-shared --prefix=$(pwd)
make -j$CORES CFLAGS=-D_DEFAULT_SOURCE $(CFLAGS)
make -j$CORES
make install
else
# ensure mimic is up to date
cd ${MIMIC_DIR}
@ -20,5 +21,6 @@ else
./autogen.sh
./configure --with-audio=alsa --enable-shared --prefix=$(pwd)
make clean
make -j$CORES CFLAGS=-D_DEFAULT_SOURCE $(CFLAGS)
make -j$CORES
make install
fi