aboutsummaryrefslogtreecommitdiff
path: root/perl/perl-MailTools
diff options
context:
space:
mode:
authorNishant Limbachia <nishant@mnspace.net>2016-08-25 15:14:48 +0100
committerDavid Spencer <idlemoor@slackbuilds.org>2016-08-28 00:22:59 +0100
commit73d79cab781c06f47d624dd7b906db0baa90654f (patch)
tree7b93863c12bb499b150f43a285852db78d357a10 /perl/perl-MailTools
parent6c12bc87a3040c1c1b7bca7ea9750cd1de668bb2 (diff)
perl/perl-MailTools: Updated for version 2.18.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'perl/perl-MailTools')
-rw-r--r--perl/perl-MailTools/perl-MailTools.SlackBuild13
-rw-r--r--perl/perl-MailTools/perl-MailTools.info8
-rw-r--r--perl/perl-MailTools/slack-desc2
3 files changed, 12 insertions, 11 deletions
diff --git a/perl/perl-MailTools/perl-MailTools.SlackBuild b/perl/perl-MailTools/perl-MailTools.SlackBuild
index 0cedee104a39d..ef23c295b877a 100644
--- a/perl/perl-MailTools/perl-MailTools.SlackBuild
+++ b/perl/perl-MailTools/perl-MailTools.SlackBuild
@@ -3,7 +3,7 @@
# Slackware Package Build Script for perl modules: MailTools
# Home Page http://search.cpan.org/dist/MailTools/
-# Copyright (c) 2008-2014, Nishant Limbachia, Hoffman Estates, IL, USA
+# Copyright (c) 2008-2016, Nishant Limbachia, Hoffman Estates, IL, USA
# (nishant _AT_ mnspace _DOT_ net)
# All rights reserved.
@@ -28,7 +28,7 @@
# Modified by the SlackBuilds.org project.
PRGNAM="perl-MailTools"
-VERSION=${VERSION:-2.14}
+VERSION=${VERSION:-2.18}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -36,7 +36,7 @@ SRCNAM="$(printf $PRGNAM | cut -f2 -d-)"
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -49,8 +49,8 @@ OUTPUT=${OUTPUT:-/tmp}
set -e
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
elif [ "$ARCH" = "x86_64" ]; then
@@ -74,7 +74,8 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
-perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLVENDORMAN3DIR=/usr/man/man3
+perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor \
+ INSTALLVENDORMAN3DIR=/usr/man/man3
make
make install DESTDIR=$PKG
diff --git a/perl/perl-MailTools/perl-MailTools.info b/perl/perl-MailTools/perl-MailTools.info
index 4ac72f98ed49a..914cc1e3522d8 100644
--- a/perl/perl-MailTools/perl-MailTools.info
+++ b/perl/perl-MailTools/perl-MailTools.info
@@ -1,8 +1,8 @@
PRGNAM="perl-MailTools"
-VERSION="2.14"
-HOMEPAGE="http://search.cpan.org/dist/MailTools/"
-DOWNLOAD="http://search.cpan.org/CPAN/authors/id/M/MA/MARKOV/MailTools-2.14.tar.gz"
-MD5SUM="813ae849683367bb75e6be89e4e8cc46"
+VERSION="2.18"
+HOMEPAGE="https://metacpan.org/release/MailTools"
+DOWNLOAD="http://www.cpan.org/authors/id/M/MA/MARKOV/MailTools-2.18.tar.gz"
+MD5SUM="972468ab5207b90398d77bed4ffc361d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="perl-TimeDate"
diff --git a/perl/perl-MailTools/slack-desc b/perl/perl-MailTools/slack-desc
index 4aaf6382b389e..e1261ce29c154 100644
--- a/perl/perl-MailTools/slack-desc
+++ b/perl/perl-MailTools/slack-desc
@@ -11,7 +11,7 @@ perl-MailTools: MailTools is a set of Perl modules related to mail applications.
perl-MailTools:
perl-MailTools:
perl-MailTools:
-perl-MailTools: Homepage: http://search.cpan.org/dist/MailTools/
+perl-MailTools: Homepage: https://metacpan.org/release/MailTools
perl-MailTools:
perl-MailTools:
perl-MailTools: