diff options
Diffstat (limited to 'source/d')
-rwxr-xr-x | source/d/perl/perl.SlackBuild | 45 |
1 files changed, 44 insertions, 1 deletions
diff --git a/source/d/perl/perl.SlackBuild b/source/d/perl/perl.SlackBuild index 94518bfe..bb35a6bc 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.26.2 -BUILD=${BUILD:-3} +BUILD=${BUILD:-4} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then @@ -56,15 +56,30 @@ TMP=${TMP:-/tmp} PKG=$TMP/package-perl # Additional required modules: +# +# https://metacpan.org/release/DBD-mysql DBDMYSQL=4.046 +# https://metacpan.org/release/DBI DBI=1.641 +# https://metacpan.org/release/gettext GETTEXT=1.07 +# https://metacpan.org/release/TermReadKey TERMREADKEY=2.37 +# https://metacpan.org/release/URI URI=1.74 +# https://metacpan.org/release/XML-Parser XMLPARSER=2.44 +# https://metacpan.org/release/XML-Simple XMLSIMPLE=2.25 +# https://metacpan.org/release/Authen-SASL AUTHENSASL=2.16 +# https://metacpan.org/release/MIME-Base64 MIMEBASE64=3.15 +# https://metacpan.org/release/IO-Socket-SSL +IOSOCKETSSL=2.056 +# https://metacpan.org/release/Net-SSLeay +NETSSLEAY=1.85 +# https://metacpan.org/release/libnet LIBNET=3.11 if [ "$ARCH" = "i486" ]; then @@ -304,6 +319,34 @@ make install DESTDIR=$PKG || exit 1 cp -a README* $PKG/usr/doc/perl-$VERSION/MIME-Base64-${MIMEBASE64} chmod 644 $PKG/usr/doc/perl-$VERSION/MIME-Base64-${MIMEBASE64}/* ) || exit 1 + ( tar xzvf $CWD/IO-Socket-SSL-${IOSOCKETSSL}.tar.gz + cd IO-Socket-SSL-${IOSOCKETSSL} + 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/IO-Socket-SSL-${IOSOCKETSSL} + cp -a README* $PKG/usr/doc/perl-$VERSION/IO-Socket-SSL-${IOSOCKETSSL} + chmod 644 $PKG/usr/doc/perl-$VERSION/IO-Socket-SSL-${IOSOCKETSSL}/* + ) || exit 1 + ( tar xzvf $CWD/Net-SSLeay-${NETSSLEAY}.tar.gz + cd Net-SSLeay-${NETSSLEAY} + 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/Net-SSLeay-${NETSSLEAY} + cp -a README* $PKG/usr/doc/perl-$VERSION/Net-SSLeay-${NETSSLEAY} + chmod 644 $PKG/usr/doc/perl-$VERSION/Net-SSLeay-${NETSSLEAY}/* + ) || exit 1 ( tar xzvf $CWD/libnet-${LIBNET}.tar.gz cd libnet-${LIBNET} zcat $CWD/libnet-3.08-Do-not-create-Net-libnet.cfg.patch.gz | patch -p1 --verbose || exit 1 |