summaryrefslogtreecommitdiff
path: root/libraries/php-pdo_dblib/php-pdo_dblib.SlackBuild
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2016-02-06 23:20:34 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-02-07 15:06:56 +0700
commit41761f24df2c0c975136f0bdb1ac8c392d1a2036 (patch)
tree05a949f222679ba8fa0fbfa0088c30d72e990d3f /libraries/php-pdo_dblib/php-pdo_dblib.SlackBuild
parent0edb002be18e898f4d88a0646d339d23b398937b (diff)
downloadslackbuilds-41761f24df2c0c975136f0bdb1ac8c392d1a2036.tar.gz
libraries/php-pdo_dblib: Updated for version 5.6.18.
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Diffstat (limited to 'libraries/php-pdo_dblib/php-pdo_dblib.SlackBuild')
-rw-r--r--libraries/php-pdo_dblib/php-pdo_dblib.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/libraries/php-pdo_dblib/php-pdo_dblib.SlackBuild b/libraries/php-pdo_dblib/php-pdo_dblib.SlackBuild
index 58f164e326..e83aa192d2 100644
--- a/libraries/php-pdo_dblib/php-pdo_dblib.SlackBuild
+++ b/libraries/php-pdo_dblib/php-pdo_dblib.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=php-pdo_dblib
-VERSION=${VERSION:-5.4.45}
+VERSION=${VERSION:-5.6.18}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -62,7 +62,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/pdo_dblib.ini $PKG/etc/php/pdo_dblib.ini.new
+install -m 644 $CWD/pdo_dblib.ini $PKG/etc/php.d/pdo_dblib.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