From efeaadf0ba4c6b383a7a99220ff90922c53fff87 Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Date: Tue, 8 Apr 2014 02:23:43 +0200 Subject: [PATCH] Added PHP C extension version --- src/build/compile.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/build/compile.sh b/src/build/compile.sh index 92981fff2..f30c0c89f 100755 --- a/src/build/compile.sh +++ b/src/build/compile.sh @@ -9,6 +9,7 @@ READLINE_VERSION="6.3" NCURSES_VERSION="5.9" PHPNCURSES_VERSION="1.0.2" PTHREADS_VERSION="2.0.4" +PHP_POCKETMINE_VERSION="3f780a57cf658687245c735534d0c0943ba798ef" UOPZ_VERSION="2.0.3" WEAKREF_VERSION="0.2.2" PHPYAML_VERSION="1.1.1" @@ -512,10 +513,10 @@ echo " done!" HAS_POCKETMINE="" if [ "$HAS_ZEPHIR" == "yes" ]; then - echo -n "[C PocketMine extension] downloading latest..." - download_file https://github.com/PocketMine/PocketMine-MP-Zephir/archive/master.tar.gz | tar -zx >> "$DIR/install.log" 2>&1 - mv PocketMine-MP-Zephir-master/pocketmine/ext "$DIR/install_data/php/ext/pocketmine" - rm -r PocketMine-MP-Zephir-master/ + echo -n "[C PocketMine extension] downloading $PHP_POCKETMINE_VERSION..." + download_file https://github.com/PocketMine/PocketMine-MP-Zephir/archive/$PHP_POCKETMINE_VERSION.tar.gz | tar -zx >> "$DIR/install.log" 2>&1 + mv PocketMine-MP-Zephir-$PHP_POCKETMINE_VERSION/pocketmine/ext "$DIR/install_data/php/ext/pocketmine" + rm -r PocketMine-MP-Zephir-$PHP_POCKETMINE_VERSION/ HAS_POCKETMINE="--enable-pocketmine" echo " done!" fi