diff options
Diffstat (limited to 'source/d/perl/perl.SlackBuild')
-rwxr-xr-x | source/d/perl/perl.SlackBuild | 86 |
1 files changed, 83 insertions, 3 deletions
diff --git a/source/d/perl/perl.SlackBuild b/source/d/perl/perl.SlackBuild index a518efd7c..8da02f042 100755 --- a/source/d/perl/perl.SlackBuild +++ b/source/d/perl/perl.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=perl VERSION=5.32.0 -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then @@ -68,7 +68,7 @@ GETTEXT=1.07 # https://metacpan.org/release/TermReadKey TERMREADKEY=2.38 # https://metacpan.org/release/URI -URI=1.76 +URI=5.05 # https://metacpan.org/release/XML-Parser XMLPARSER=2.46 # https://metacpan.org/release/XML-Simple @@ -76,7 +76,7 @@ XMLSIMPLE=2.25 # https://metacpan.org/release/Authen-SASL AUTHENSASL=2.16 # https://metacpan.org/release/MIME-Base64 -MIMEBASE64=3.15 +MIMEBASE64=3.16 # https://metacpan.org/release/IO-Socket-SSL IOSOCKETSSL=2.068 # https://metacpan.org/release/Net-SSLeay @@ -85,6 +85,16 @@ NETSSLEAY=1.88 LIBNET=3.11 # https://metacpan.org/release/Parse-Yapp PARSEYAPP=1.21 +# https://metacpan.org/release/Path-Tiny (freecell-solver) +PATHTINY=0.114 +# https://metacpan.org/release/Template-Toolkit (freecell-solver) +TEMPLATETOOLKIT=3.009 +# https://metacpan.org/release/Moo (freecell-solver) +MOO=2.004000 +# https://metacpan.org/pod/Module::Runtime (freecell-solver) +MODULERUNTIME=0.016 +# https://metacpan.org/pod/Sub::Quote (freecell-solver) +SUBQUOTE=2.006006 if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mcpu=i686" @@ -395,6 +405,76 @@ make install DESTDIR=$PKG || exit 1 cp -a README* $PKG/usr/doc/perl-$VERSION/Parse-Yapp-${PARSEYAPP} chmod 644 $PKG/usr/doc/perl-$VERSION/Parse-Yapp-${PARSEYAPP}/* ) || exit 1 + ( tar xzvf $CWD/Path-Tiny-${PATHTINY}.tar.gz + cd Path-Tiny-${PATHTINY} + chown -R root:root . + echo y | perl Makefile.PL INSTALLDIRS=vendor + make || exit 1 + if [ "$MAKETEST" = "yes" ]; then + make test || exit 1 + fi + make install || exit 1 + make install DESTDIR=$PKG || exit 1 + mkdir -p $PKG/usr/doc/perl-$VERSION/Path-Tiny-${PATHTINY} + cp -a README* $PKG/usr/doc/perl-$VERSION/Path-Tiny-${PATHTINY} + chmod 644 $PKG/usr/doc/perl-$VERSION/Path-Tiny-${PATHTINY}/* + ) || exit 1 + ( tar xzvf $CWD/Template-Toolkit-${TEMPLATETOOLKIT}.tar.gz + cd Template-Toolkit-${TEMPLATETOOLKIT} + chown -R root:root . + echo y | perl Makefile.PL INSTALLDIRS=vendor + make || exit 1 + if [ "$MAKETEST" = "yes" ]; then + make test || exit 1 + fi + make install || exit 1 + make install DESTDIR=$PKG || exit 1 + mkdir -p $PKG/usr/doc/perl-$VERSION/Template-Toolkit-${TEMPLATETOOLKIT} + cp -a README* $PKG/usr/doc/perl-$VERSION/Template-Toolkit-${TEMPLATETOOLKIT} + chmod 644 $PKG/usr/doc/perl-$VERSION/Template-Toolkit-${TEMPLATETOOLKIT}/* + ) || exit 1 + ( tar xzvf $CWD/Moo-${MOO}.tar.gz + cd Moo-${MOO} + chown -R root:root . + echo y | perl Makefile.PL INSTALLDIRS=vendor + make || exit 1 + if [ "$MAKETEST" = "yes" ]; then + make test || exit 1 + fi + make install || exit 1 + make install DESTDIR=$PKG || exit 1 + mkdir -p $PKG/usr/doc/perl-$VERSION/Moo-${MOO} + cp -a README* $PKG/usr/doc/perl-$VERSION/Moo-${MOO} + chmod 644 $PKG/usr/doc/perl-$VERSION/Moo-${MOO}/* + ) || exit 1 + ( tar xzvf $CWD/Module-Runtime-${MODULERUNTIME}.tar.gz + cd Module-Runtime-${MODULERUNTIME} + chown -R root:root . + echo y | perl Makefile.PL INSTALLDIRS=vendor + make || exit 1 + if [ "$MAKETEST" = "yes" ]; then + make test || exit 1 + fi + make install || exit 1 + make install DESTDIR=$PKG || exit 1 + mkdir -p $PKG/usr/doc/perl-$VERSION/Module-Runtime-${MODULERUNTIME} + cp -a README* $PKG/usr/doc/perl-$VERSION/Module-Runtime-${MODULERUNTIME} + chmod 644 $PKG/usr/doc/perl-$VERSION/Module-Runtime-${MODULERUNTIME}/* + ) || exit 1 + ( tar xzvf $CWD/Sub-Quote-${SUBQUOTE}.tar.gz + cd Sub-Quote-${SUBQUOTE} + chown -R root:root . + echo y | perl Makefile.PL INSTALLDIRS=vendor + make || exit 1 + if [ "$MAKETEST" = "yes" ]; then + make test || exit 1 + fi + make install || exit 1 + make install DESTDIR=$PKG || exit 1 + mkdir -p $PKG/usr/doc/perl-$VERSION/Sub-Quote-${SUBQUOTE} + cp -a README* $PKG/usr/doc/perl-$VERSION/Sub-Quote-${SUBQUOTE} + chmod 644 $PKG/usr/doc/perl-$VERSION/Sub-Quote-${SUBQUOTE}/* + ) || exit 1 ) || exit 1 # Strip everything: |