mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
up
This commit is contained in:
@@ -72,7 +72,7 @@ if [ $sysName == 'Darwin' ]; then
|
||||
OPTIONS="${OPTIONS} --with-curl=${serverPath}/lib/curl"
|
||||
else
|
||||
OPTIONS="--with-iconv=${serverPath}/lib/libiconv"
|
||||
OPTIONS="${OPTIONS} --with-freetype-dir=${serverPath}/lib/freetype"
|
||||
OPTIONS="${OPTIONS} --with-freetype-dir=${serverPath}/lib/freetype_old"
|
||||
OPTIONS="${OPTIONS} --with-gd --enable-gd-native-ttf"
|
||||
OPTIONS="${OPTIONS} --with-curl"
|
||||
fi
|
||||
|
||||
@@ -50,7 +50,7 @@ if [ $sysName == 'Darwin' ]; then
|
||||
OPTIONS="${OPTIONS} --with-curl=${serverPath}/lib/curl"
|
||||
else
|
||||
OPTIONS="--with-iconv=${serverPath}/lib/libiconv"
|
||||
OPTIONS="${OPTIONS} --with-freetype-dir=${serverPath}/lib/freetype"
|
||||
OPTIONS="${OPTIONS} --with-freetype-dir=${serverPath}/lib/freetype_old"
|
||||
OPTIONS="${OPTIONS} --with-gd --enable-gd-native-ttf"
|
||||
OPTIONS="${OPTIONS} --with-curl"
|
||||
fi
|
||||
|
||||
@@ -36,7 +36,7 @@ if [ $sysName == 'Darwin' ]; then
|
||||
OPTIONS="${OPTIONS} --with-curl=${serverPath}/lib/curl"
|
||||
else
|
||||
OPTIONS="--with-iconv=${serverPath}/lib/libiconv"
|
||||
OPTIONS="${OPTIONS} --with-freetype-dir=${serverPath}/lib/freetype"
|
||||
OPTIONS="${OPTIONS} --with-freetype-dir=${serverPath}/lib/freetype_old"
|
||||
OPTIONS="${OPTIONS} --with-gd --enable-gd-native-ttf"
|
||||
OPTIONS="${OPTIONS} --with-curl"
|
||||
fi
|
||||
|
||||
@@ -35,7 +35,7 @@ if [ $sysName == 'Darwin' ]; then
|
||||
OPTIONS="${OPTIONS} --with-curl=${serverPath}/lib/curl"
|
||||
else
|
||||
OPTIONS="--with-iconv=${serverPath}/lib/libiconv"
|
||||
OPTIONS="${OPTIONS} --with-freetype-dir=${serverPath}/lib/freetype"
|
||||
OPTIONS="${OPTIONS} --with-freetype-dir=${serverPath}/lib/freetype_old"
|
||||
OPTIONS="${OPTIONS} --with-gd --enable-gd-native-ttf"
|
||||
OPTIONS="${OPTIONS} --with-curl"
|
||||
fi
|
||||
|
||||
@@ -35,7 +35,7 @@ if [ $sysName == 'Darwin' ]; then
|
||||
OPTIONS="${OPTIONS} --with-curl=${serverPath}/lib/curl"
|
||||
else
|
||||
OPTIONS="--with-iconv=${serverPath}/lib/libiconv"
|
||||
OPTIONS="${OPTIONS} --with-freetype-dir=${serverPath}/lib/freetype"
|
||||
OPTIONS="${OPTIONS} --with-freetype-dir=${serverPath}/lib/freetype_old"
|
||||
OPTIONS="${OPTIONS} --with-gd --enable-gd-native-ttf"
|
||||
OPTIONS="${OPTIONS} --with-curl"
|
||||
fi
|
||||
|
||||
@@ -83,6 +83,24 @@ Install_Libiconv()
|
||||
|
||||
Install_Freetype()
|
||||
{
|
||||
#----------------------------- freetype start -------------------------#
|
||||
cd ${sourcePath}
|
||||
if [ ! -d ${libPath}/freetype_old ];then
|
||||
wget -O freetype-2.7.1.tar.gz 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=${libPath}/freetype_old
|
||||
make && make install
|
||||
cd ${sourcePath}
|
||||
rm -rf freetype-2.7.1.tar.gz
|
||||
rm -f freetype-2.7.1.tar.gz
|
||||
fi
|
||||
echo -e "Install_Freetype_Old" >> ${libPath}/lib.pl
|
||||
#----------------------------- freetype end -------------------------#
|
||||
}
|
||||
|
||||
Install_Freetype_New()
|
||||
{
|
||||
#----------------------------- freetype start -------------------------#
|
||||
cd ${sourcePath}
|
||||
if [ ! -d ${libPath}/freetype ];then
|
||||
@@ -261,7 +279,10 @@ Install_Libiconv
|
||||
# Install_Libmemcached
|
||||
# Install_Curl
|
||||
# Install_Zlib
|
||||
|
||||
Install_Freetype
|
||||
Install_Freetype_New
|
||||
|
||||
# Install_OpenSSL
|
||||
Install_Libzip
|
||||
|
||||
|
||||
Reference in New Issue
Block a user