summaryrefslogtreecommitdiff
path: root/development/hhvm/hhvm.SlackBuild
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2016-05-31 05:02:22 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-05-31 05:02:22 +0700
commit055727eb115988829fb873fb1182ff8831db4dff (patch)
tree0117cb8c7553a9da5400333f014d1a8f8ad72620 /development/hhvm/hhvm.SlackBuild
parentb45bcc65430e1c59a459dd8d09a6182dc2f2bd29 (diff)
downloadslackbuilds-055727eb115988829fb873fb1182ff8831db4dff.tar.gz
development/hhvm: Updated for version 3.13.1.
Big thanks to Eugen :) Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/hhvm/hhvm.SlackBuild')
-rw-r--r--development/hhvm/hhvm.SlackBuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/development/hhvm/hhvm.SlackBuild b/development/hhvm/hhvm.SlackBuild
index 62b11c7671..8caf0096ed 100644
--- a/development/hhvm/hhvm.SlackBuild
+++ b/development/hhvm/hhvm.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for HHVM
-# Copyright 2015 Eugene Wissner, Dachau, Germany
+# Copyright 2015-2016 Eugene Wissner, Dachau, Germany
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,10 +23,9 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=hhvm
-VERSION=${VERSION:-3.11.0}
+VERSION=${VERSION:-3.13.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-CMAKE3=cmake-3.2.3-Linux-x86_64
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -57,7 +56,7 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar Jxvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
-tar zxvf $CWD/$CMAKE3.tar.gz
+
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -65,13 +64,14 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-#export CMAKE_PREFIX_PATH=`pwd`/..
-./$CMAKE3/bin/cmake \
+export CMAKE_PREFIX_PATH=`pwd`
+cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS -lreadline -lncurses" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -I/usr/kerberos/include" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \
-DENABLE_MCROUTER=true \
+ -DMYSQL_UNIX_SOCK_ADDR=/var/run/mysqld/mysqld.sock \
-DCMAKE_BUILD_TYPE=Release .
make
make install DESTDIR=$PKG