mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
perl/perl-MailTools: Updated for version 2.18.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
6c12bc87a3
commit
73d79cab78
3 changed files with 12 additions and 11 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue