summaryrefslogtreecommitdiff
path: root/libraries/php-pdo_dblib/php-pdo_dblib.SlackBuild
diff options
context:
space:
mode:
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