summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Matteo Bernardini2020-02-28 07:34:15 +0100
committer Matteo Bernardini2021-02-20 20:19:12 +0100
commitd45752d36c55ff2450c7abd44f10ffe6cf6b2d37 (patch)
tree72a9a52d1eaae9c01d6b8b95fbf17ffcc6faf09b
parent77c0b44bbfd192ed8977df6dcfe55d5defeab350 (diff)
downloadslackbuilds-php-pgsql.tar.gz
libraries/php-pgsql: Updated for version 7.4.3.php-pgsql
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--libraries/php-pgsql/php-pgsql.SlackBuild10
-rw-r--r--libraries/php-pgsql/php-pgsql.info6
2 files changed, 8 insertions, 8 deletions
diff --git a/libraries/php-pgsql/php-pgsql.SlackBuild b/libraries/php-pgsql/php-pgsql.SlackBuild
index d9db0ad0d4..84f562663d 100644
--- a/libraries/php-pgsql/php-pgsql.SlackBuild
+++ b/libraries/php-pgsql/php-pgsql.SlackBuild
@@ -24,13 +24,13 @@
SRCNAM=php
PRGNAM=php-pgsql
-VERSION=${VERSION:-5.6.30}
+VERSION=${VERSION:-7.4.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -41,8 +41,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -126,7 +126,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/{pgsql,pdo_pgsql}
-cp ext/pgsql/{CREDITS,README} $PKG/usr/doc/$PRGNAM-$VERSION/pgsql/
+cp ext/pgsql/CREDITS $PKG/usr/doc/$PRGNAM-$VERSION/pgsql/
cp ext/pdo_pgsql/CREDITS $PKG/usr/doc/$PRGNAM-$VERSION/pdo_pgsql/
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/libraries/php-pgsql/php-pgsql.info b/libraries/php-pgsql/php-pgsql.info
index b01ec74990..d5426c4f80 100644
--- a/libraries/php-pgsql/php-pgsql.info
+++ b/libraries/php-pgsql/php-pgsql.info
@@ -1,8 +1,8 @@
PRGNAM="php-pgsql"
-VERSION="5.6.30"
+VERSION="7.4.3"
HOMEPAGE="http://php.net/manual/en/book.pgsql.php"
-DOWNLOAD="https://secure.php.net/distributions/php-5.6.30.tar.xz"
-MD5SUM="68753955a8964ae49064c6424f81eb3e"
+DOWNLOAD="https://secure.php.net/distributions/php-7.4.3.tar.xz"
+MD5SUM="853df4727b2dcde52e9cc9d944f87498"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="postgresql"