diff options
Diffstat (limited to 'libraries/php-pgsql/php-pgsql.SlackBuild')
-rw-r--r-- | libraries/php-pgsql/php-pgsql.SlackBuild | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libraries/php-pgsql/php-pgsql.SlackBuild b/libraries/php-pgsql/php-pgsql.SlackBuild index 6a17aff3852d2..b9b06cb99e1ce 100644 --- a/libraries/php-pgsql/php-pgsql.SlackBuild +++ b/libraries/php-pgsql/php-pgsql.SlackBuild @@ -24,7 +24,7 @@ SRCNAM=php PRGNAM=php-pgsql -VERSION=${VERSION:-5.6.11} +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 . \ @@ -91,7 +91,7 @@ CXXFLAGS="$SLKCFLAGS" \ make -mkdir -p $EXTENSION_DIR $PKG/etc/php +mkdir -p $EXTENSION_DIR $PKG/etc/php.d make install DESTDIR=$PKG EXTENSION_DIR=$EXTENSION_DIR @@ -119,8 +119,8 @@ make install DESTDIR=$PKG EXTENSION_DIR=$EXTENSION_DIR cd - -install -m 644 $CWD/pgsql.ini $PKG/etc/php/pgsql.ini.new -install -m 644 $CWD/pdo_pgsql.ini $PKG/etc/php/pdo_pgsql.ini.new +install -m 644 $CWD/pgsql.ini $PKG/etc/php.d/pgsql.ini.new +install -m 644 $CWD/pdo_pgsql.ini $PKG/etc/php.d/pdo_pgsql.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 |