diff options
author | B. Watson <yalhcru@gmail.com> | 2018-02-28 14:37:14 -0500 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2018-06-14 01:14:25 +0100 |
commit | f374e71f3a1ca682433e5cfff3ab47d7ce0e264b (patch) | |
tree | 9ca0a78408dc98d9621b4512f6f52b49e3099811 /perl/perl-GD/perl-GD.SlackBuild | |
parent | eaace30612918d9a4e799b71e80201a2351c52bc (diff) |
perl/perl-GD: Updated for v2.68, fix 32-bit build, add FastCGI.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'perl/perl-GD/perl-GD.SlackBuild')
-rw-r--r-- | perl/perl-GD/perl-GD.SlackBuild | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/perl/perl-GD/perl-GD.SlackBuild b/perl/perl-GD/perl-GD.SlackBuild index d5b04848d7f6c..4f1fe69a288ef 100644 --- a/perl/perl-GD/perl-GD.SlackBuild +++ b/perl/perl-GD/perl-GD.SlackBuild @@ -6,8 +6,15 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20180611 bkw: +# - update for v2.68 + +# 20180228 bkw: +# - fix build on 32-bit. Thanks to idlemoor for the bug report. +# - add FASTCGI option + PRGNAM=perl-GD -VERSION=${VERSION:-2.67} +VERSION=${VERSION:-2.68} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -60,7 +67,17 @@ find -L . \ # This isn't a real issue, since on Slackware /usr/X11R6/include # is just a symlink to /usr/include. +if [ "${FASTCGI:-no}" = "yes" ]; then + FCGIOPT="--fcgi" + WITH="with" +else + FCGIOPT="" + WITH="without" +fi + perl Makefile.PL \ + --lib_gd_path /usr \ + $FCGIOPT \ PREFIX=/usr \ INSTALLDIRS=vendor \ INSTALLVENDORMAN3DIR=/usr/man/man3 \ @@ -85,7 +102,7 @@ cp -a README* ChangeLog LICENSE $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc +sed "s,@WITH@,$WITH," $CWD/slack-desc > $PKG/install/slack-desc cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} |