aboutsummaryrefslogtreecommitdiff
path: root/libraries/php-mssql/php-mssql.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/php-mssql/php-mssql.SlackBuild')
-rw-r--r--libraries/php-mssql/php-mssql.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/libraries/php-mssql/php-mssql.SlackBuild b/libraries/php-mssql/php-mssql.SlackBuild
index f89b472ce518..556d25a2775e 100644
--- a/libraries/php-mssql/php-mssql.SlackBuild
+++ b/libraries/php-mssql/php-mssql.SlackBuild
@@ -24,7 +24,7 @@
SRCNAM=php
PRGNAM=php-mssql
-VERSION=${VERSION:-5.4.45}
+VERSION=${VERSION:-5.6.18}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -61,7 +61,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tar.bz2
+tar xvf $CWD/$SRCNAM-$VERSION.tar.xz
cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
@@ -93,11 +93,11 @@ CXXFLAGS="$SLKCFLAGS" \
make
EXTENSION_DIR="$PKG/$($PHP_CONFIG --extension-dir)"
-mkdir -p $EXTENSION_DIR $PKG/etc/php
+mkdir -p $EXTENSION_DIR $PKG/etc/php.d
make install DESTDIR=$PKG EXTENSION_DIR=$EXTENSION_DIR
-install -m 644 $CWD/mssql.ini $PKG/etc/php/mssql.ini.new
+install -m 644 $CWD/mssql.ini $PKG/etc/php.d/mssql.ini.new
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true