summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 0cedee104a..ef23c295b8 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 4ac72f98ed..914cc1e352 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 4aaf6382b3..e1261ce29c 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: