mirror of https://github.com/midoks/mdserver-web
parent
d51d5d1f86
commit
bdcd66a9ec
@ -0,0 +1,25 @@ |
|||||||
|
#!/bin/bash |
||||||
|
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin |
||||||
|
export PATH |
||||||
|
|
||||||
|
curPath=`pwd` |
||||||
|
rootPath=$(dirname "$curPath") |
||||||
|
rootPath=$(dirname "$rootPath") |
||||||
|
rootPath=$(dirname "$rootPath") |
||||||
|
rootPath=$(dirname "$rootPath") |
||||||
|
|
||||||
|
# echo $rootPath |
||||||
|
|
||||||
|
SERVER_ROOT=$rootPath/lib |
||||||
|
SOURCE_ROOT=$rootPath/source/lib |
||||||
|
|
||||||
|
if [ ! -d ${SERVER_ROOT}/freetype ];then |
||||||
|
cd $SOURCE_ROOT |
||||||
|
wget -O freetype-2.12.1.tar.gz --no-check-certificate https://download.savannah.gnu.org/releases/freetype/freetype-2.12.1.tar.gz -T 5 |
||||||
|
tar zxvf freetype-2.12.1.tar.gz |
||||||
|
cd freetype-2.12.1 |
||||||
|
./configure --prefix=${SERVER_ROOT}/freetype_old && make && make install |
||||||
|
cd $SOURCE_ROOT |
||||||
|
rm -rf freetype-2.12.1.tar.gz |
||||||
|
rm -rf freetype-2.12.1 |
||||||
|
fi |
@ -0,0 +1,25 @@ |
|||||||
|
#!/bin/bash |
||||||
|
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin |
||||||
|
export PATH |
||||||
|
|
||||||
|
curPath=`pwd` |
||||||
|
rootPath=$(dirname "$curPath") |
||||||
|
rootPath=$(dirname "$rootPath") |
||||||
|
rootPath=$(dirname "$rootPath") |
||||||
|
rootPath=$(dirname "$rootPath") |
||||||
|
|
||||||
|
# echo $rootPath |
||||||
|
|
||||||
|
SERVER_ROOT=$rootPath/lib |
||||||
|
SOURCE_ROOT=$rootPath/source/lib |
||||||
|
|
||||||
|
if [ ! -d ${SERVER_ROOT}/freetype_old ];then |
||||||
|
cd $SOURCE_ROOT |
||||||
|
wget -O freetype-2.7.1.tar.gz --no-check-certificate https://download.savannah.gnu.org/releases/freetype/freetype-2.7.1.tar.gz -T 5 |
||||||
|
tar zxvf freetype-2.7.1.tar.gz |
||||||
|
cd freetype-2.7.1 |
||||||
|
./configure --prefix=${SERVER_ROOT}/freetype_old && make && make install |
||||||
|
cd $SOURCE_ROOT |
||||||
|
rm -rf freetype-2.7.1.tar.gz |
||||||
|
rm -rf freetype-2.7.1 |
||||||
|
fi |
@ -0,0 +1,25 @@ |
|||||||
|
#!/bin/bash |
||||||
|
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin |
||||||
|
export PATH |
||||||
|
|
||||||
|
curPath=`pwd` |
||||||
|
rootPath=$(dirname "$curPath") |
||||||
|
rootPath=$(dirname "$rootPath") |
||||||
|
rootPath=$(dirname "$rootPath") |
||||||
|
rootPath=$(dirname "$rootPath") |
||||||
|
|
||||||
|
# echo $rootPath |
||||||
|
|
||||||
|
SERVER_ROOT=$rootPath/lib |
||||||
|
SOURCE_ROOT=$rootPath/source/lib |
||||||
|
|
||||||
|
if [ ! -d ${SERVER_ROOT}/libiconv ];then |
||||||
|
cd $SOURCE_ROOT |
||||||
|
wget -O libiconv-1.15.tar.gz https://github.com/midoks/mdserver-web/releases/download/init/libiconv-1.15.tar.gz -T 5 |
||||||
|
tar zxvf libiconv-1.15.tar.gz |
||||||
|
cd libiconv-1.15 |
||||||
|
./configure --prefix=${SERVER_ROOT}/libiconv --enable-static |
||||||
|
cd $SOURCE_ROOT |
||||||
|
rm -rf libiconv-1.15 |
||||||
|
rm -rf libiconv-1.15.tar.gz |
||||||
|
fi |
@ -0,0 +1,31 @@ |
|||||||
|
#!/bin/bash |
||||||
|
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin |
||||||
|
export PATH |
||||||
|
|
||||||
|
curPath=`pwd` |
||||||
|
rootPath=$(dirname "$curPath") |
||||||
|
rootPath=$(dirname "$rootPath") |
||||||
|
rootPath=$(dirname "$rootPath") |
||||||
|
rootPath=$(dirname "$rootPath") |
||||||
|
|
||||||
|
# echo $rootPath |
||||||
|
|
||||||
|
SERVER_ROOT=$rootPath/lib |
||||||
|
SOURCE_ROOT=$rootPath/source/lib |
||||||
|
|
||||||
|
if [ ! -d ${SERVER_ROOT}/libiconv ];then |
||||||
|
|
||||||
|
cd $SOURCE_ROOT |
||||||
|
if [ ! -f ${SOURCE_ROOT}/libzip-1.3.2.tar.gz ];then |
||||||
|
wget -O libzip-1.3.2.tar.gz --no-check-certificate https://nih.at/libzip/libzip-1.3.2.tar.gz -T 20 |
||||||
|
fi |
||||||
|
|
||||||
|
tar -zxvf libzip-1.3.2.tar.gz |
||||||
|
cd libzip-1.3.2 |
||||||
|
|
||||||
|
./configure --prefix=${SERVER_ROOT}/libzip && make && make install |
||||||
|
|
||||||
|
cd $SOURCE_ROOT |
||||||
|
rm -rf libiconv-1.15 |
||||||
|
rm -rf libiconv-1.15.tar.gz |
||||||
|
fi |
Loading…
Reference in new issue