summaryrefslogtreecommitdiff
path: root/source/d/perl/perl.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/d/perl/perl.SlackBuild')
-rwxr-xr-xsource/d/perl/perl.SlackBuild21
1 files changed, 17 insertions, 4 deletions
diff --git a/source/d/perl/perl.SlackBuild b/source/d/perl/perl.SlackBuild
index df535c7d..7485d33f 100755
--- a/source/d/perl/perl.SlackBuild
+++ b/source/d/perl/perl.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright 2009, 2010, 2011, 2012 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2009, 2010, 2011, 2012, 2013 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
# originally by: David Cantrell <david@slackware.com>
# maintained by: <volkerdi@slackware.com>
-VERSION=5.16.1
+VERSION=5.18.1
BUILD=${BUILD:-1}
# Automatically determine the architecture we're building on:
@@ -44,11 +44,12 @@ TMP=${TMP:-/tmp}
PKG=$TMP/package-perl
# Additional required modules:
-DBDMYSQL=4.021
-DBI=1.622
+DBDMYSQL=4.023
+DBI=1.628
URI=1.60
XMLPARSER=2.41
XMLSIMPLE=2.20
+GETTEXT=1.05
if [ "$ARCH" = "i386" ]; then
SLKCFLAGS="-O2 -march=i386 -mcpu=i686"
@@ -225,6 +226,18 @@ make install DESTDIR=$PKG
cp -a README $PKG/usr/doc/perl-$VERSION/URI-${URI}
chmod 644 $PKG/usr/doc/perl-$VERSION/URI-${URI}/*
)
+ ( tar xzvf $CWD/gettext-${GETTEXT}.tar.gz
+ cd gettext-${GETTEXT}
+ chown -R root:root .
+ perl Makefile.PL INSTALLDIRS=vendor
+ make
+ make test
+ make install
+ make install DESTDIR=$PKG
+ mkdir -p $PKG/usr/doc/perl-$VERSION/gettext-${GETTEXT}
+ cp -a README $PKG/usr/doc/perl-$VERSION/gettext-${GETTEXT}
+ chmod 644 $PKG/usr/doc/perl-$VERSION/gettext-${GETTEXT}/*
+ )
)
# Strip everything: