aboutsummaryrefslogtreecommitdiff
path: root/perl
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2023-05-31 04:40:22 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-06-03 10:38:35 +0700
commitdb42ee4d1af192bddf66e8570a831cac77b357b4 (patch)
treeb6e8a121aea1b857c4e473ecd805c584b01262c5 /perl
parent543c223d1c75db8248ca3c7037ced1789f84544f (diff)
perl/perl-GD: Updated for version 2.77.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'perl')
-rw-r--r--perl/perl-GD/perl-GD.SlackBuild20
-rw-r--r--perl/perl-GD/perl-GD.info6
2 files changed, 6 insertions, 20 deletions
diff --git a/perl/perl-GD/perl-GD.SlackBuild b/perl/perl-GD/perl-GD.SlackBuild
index a991f49e555f..ec85b18bfde5 100644
--- a/perl/perl-GD/perl-GD.SlackBuild
+++ b/perl/perl-GD/perl-GD.SlackBuild
@@ -6,6 +6,7 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20230531 bkw: update for v2.77.
# 20230105 bkw: update for v2.76. 'make test' works OK now, uncommented.
# 20211012 bkw: BUILD=2. Fix -current build, by commenting out
@@ -26,7 +27,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=perl-GD
-VERSION=${VERSION:-2.76}
+VERSION=${VERSION:-2.77}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -48,20 +49,6 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
set -e
SRCNAM="GD"
@@ -103,8 +90,7 @@ make install DESTDIR=$PKG
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
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+gzip -9 $PKG/usr/man/man*/*
find $PKG -name perllocal.pod \
-o -name ".packlist" \
diff --git a/perl/perl-GD/perl-GD.info b/perl/perl-GD/perl-GD.info
index 41d2ff680b5e..711d78d72eec 100644
--- a/perl/perl-GD/perl-GD.info
+++ b/perl/perl-GD/perl-GD.info
@@ -1,8 +1,8 @@
PRGNAM="perl-GD"
-VERSION="2.76"
+VERSION="2.77"
HOMEPAGE="https://metacpan.org/pod/GD"
-DOWNLOAD="https://cpan.metacpan.org/authors/id/R/RU/RURBAN/GD-2.76.tar.gz"
-MD5SUM="fb4bacab10ed4f28d52c2aabdaf866bb"
+DOWNLOAD="https://cpan.metacpan.org/authors/id/R/RU/RURBAN/GD-2.77.tar.gz"
+MD5SUM="da3f969367ea2e6d217ec05d3b98bc6f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="perl-extutils-pkgconfig"