mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-12 12:55:21 +00:00
Added libedit download/compile
This commit is contained in:
parent
aa14539274
commit
8336b4c91b
@ -4,6 +4,7 @@ COMPILER_VERSION="0.12"
|
|||||||
PHP_VERSION="5.4.15"
|
PHP_VERSION="5.4.15"
|
||||||
ZEND_VM="GOTO"
|
ZEND_VM="GOTO"
|
||||||
|
|
||||||
|
LIBEDIT_VERSION="0.3"
|
||||||
ZLIB_VERSION="1.2.8"
|
ZLIB_VERSION="1.2.8"
|
||||||
PTHREADS_VERSION="e5d95dfb847c8963c100bd4fb601dde41e0b75d1"
|
PTHREADS_VERSION="e5d95dfb847c8963c100bd4fb601dde41e0b75d1"
|
||||||
CURL_VERSION="curl-7_30_0"
|
CURL_VERSION="curl-7_30_0"
|
||||||
@ -36,6 +37,21 @@ wget http://php.net/get/php-$PHP_VERSION.tar.gz/from/this/mirror -q -O - | tar -
|
|||||||
mv php-$PHP_VERSION php
|
mv php-$PHP_VERSION php
|
||||||
echo " done!"
|
echo " done!"
|
||||||
|
|
||||||
|
#libedit
|
||||||
|
echo -n "[libedit] downloading $LIBEDIT_VERSION..."
|
||||||
|
wget http://download.sourceforge.net/project/libedit/libedit/libedit-$LIBEDIT_VERSION/libedit-$LIBEDIT_VERSION.tar.gz -q -O - | tar -zx >> "$DIR/install.log" 2>&1
|
||||||
|
echo -n " checking..."
|
||||||
|
cd libedit
|
||||||
|
CFLAGS=-fPIC ./configure --prefix="$DIR/install_data/php/ext/libedit" --enable-static >> "$DIR/install.log" 2>&1
|
||||||
|
echo -n " compiling..."
|
||||||
|
make >> "$DIR/install.log" 2>&1
|
||||||
|
echo -n " installing..."
|
||||||
|
make install >> "$DIR/install.log" 2>&1
|
||||||
|
echo -n " cleaning..."
|
||||||
|
cd ..
|
||||||
|
rm -r -f ./libedit
|
||||||
|
echo " done!"
|
||||||
|
|
||||||
#zlib
|
#zlib
|
||||||
echo -n "[zlib] downloading $ZLIB_VERSION..."
|
echo -n "[zlib] downloading $ZLIB_VERSION..."
|
||||||
wget http://zlib.net/zlib-$ZLIB_VERSION.tar.gz -q -O - | tar -zx >> "$DIR/install.log" 2>&1
|
wget http://zlib.net/zlib-$ZLIB_VERSION.tar.gz -q -O - | tar -zx >> "$DIR/install.log" 2>&1
|
||||||
@ -103,6 +119,7 @@ rm -f ./configure >> "$DIR/install.log" 2>&1
|
|||||||
--exec-prefix="$DIR/php5" \
|
--exec-prefix="$DIR/php5" \
|
||||||
--with-curl="$DIR/install_data/php/ext/curl" \
|
--with-curl="$DIR/install_data/php/ext/curl" \
|
||||||
--with-zlib="$DIR/install_data/php/ext/zlib" \
|
--with-zlib="$DIR/install_data/php/ext/zlib" \
|
||||||
|
--with-libedit="$DIR/install_data/php/ext/libedit" \
|
||||||
--disable-libxml \
|
--disable-libxml \
|
||||||
--disable-xml \
|
--disable-xml \
|
||||||
--disable-dom \
|
--disable-dom \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user