perl/perl-Mail-DKIM: Updated for version 0.52.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
d0f95c2d78
commit
c873d340dc
|
@ -3,7 +3,7 @@
|
||||||
# Slackware Package Build Script for perl modules: Mail::DKIM
|
# Slackware Package Build Script for perl modules: Mail::DKIM
|
||||||
# Home Page http://search.cpan.org/dist/Mail-DKIM/
|
# Home Page http://search.cpan.org/dist/Mail-DKIM/
|
||||||
|
|
||||||
# Copyright (c) 2008-2013, Nishant Limbachia, Hoffman Estates, IL, USA
|
# Copyright (c) 2008-2018, Nishant Limbachia, Hoffman Estates, IL, USA
|
||||||
# <nishant _AT_ mnspace _DOT_ net>
|
# <nishant _AT_ mnspace _DOT_ net>
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
|
@ -26,7 +26,7 @@
|
||||||
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM="perl-Mail-DKIM"
|
PRGNAM="perl-Mail-DKIM"
|
||||||
VERSION=${VERSION:-0.40}
|
VERSION=${VERSION:-0.52}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
|
@ -34,7 +34,7 @@ SRCNAM="$(printf $PRGNAM | cut -f2- -d-)"
|
||||||
|
|
||||||
if [ -z "$ARCH" ]; then
|
if [ -z "$ARCH" ]; then
|
||||||
case "$( uname -m )" in
|
case "$( uname -m )" in
|
||||||
i?86) ARCH=i486 ;;
|
i?86) ARCH=i586 ;;
|
||||||
arm*) ARCH=arm ;;
|
arm*) ARCH=arm ;;
|
||||||
*) ARCH=$( uname -m ) ;;
|
*) ARCH=$( uname -m ) ;;
|
||||||
esac
|
esac
|
||||||
|
@ -47,8 +47,8 @@ OUTPUT=${OUTPUT:-/tmp}
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
if [ "$ARCH" = "i486" ]; then
|
if [ "$ARCH" = "i586" ]; then
|
||||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
|
||||||
LIBDIRSUFFIX=""
|
LIBDIRSUFFIX=""
|
||||||
elif [ "$ARCH" = "i686" ]; then
|
elif [ "$ARCH" = "i686" ]; then
|
||||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||||
|
@ -61,7 +61,7 @@ else
|
||||||
LIBDIRSUFFIX=""
|
LIBDIRSUFFIX=""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
DOCS="ChangeLog README"
|
DOCS="ChangeLog"
|
||||||
|
|
||||||
rm -fr $TMP/$SRCNAM-$VERSION $PKG
|
rm -fr $TMP/$SRCNAM-$VERSION $PKG
|
||||||
mkdir -p $TMP $PKG $OUTPUT
|
mkdir -p $TMP $PKG $OUTPUT
|
||||||
|
@ -70,10 +70,10 @@ tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
|
||||||
cd $TMP/$SRCNAM-$VERSION
|
cd $TMP/$SRCNAM-$VERSION
|
||||||
chown -R root.root .
|
chown -R root.root .
|
||||||
find -L . \
|
find -L . \
|
||||||
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
|
||||||
-exec chmod 755 {} \; -o \
|
-o -perm 511 \) -exec chmod 755 {} \; -o \
|
||||||
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||||
-exec chmod 644 {} \;
|
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||||
|
|
||||||
CFLAGS="$SLKCFLAGS" \
|
CFLAGS="$SLKCFLAGS" \
|
||||||
perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLVENDORMAN3DIR=/usr/man/man3
|
perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLVENDORMAN3DIR=/usr/man/man3
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
PRGNAM="perl-Mail-DKIM"
|
PRGNAM="perl-Mail-DKIM"
|
||||||
VERSION="0.40"
|
VERSION="0.52"
|
||||||
HOMEPAGE="https://metacpan.org/pod/Mail::DKIM"
|
HOMEPAGE="http://search.cpan.org/dist/Mail-DKIM/"
|
||||||
DOWNLOAD="http://www.cpan.org/authors/id/J/JA/JASLONG/Mail-DKIM-0.40.tar.gz"
|
DOWNLOAD="http://search.cpan.org/CPAN/authors/id/M/MB/MBRADSHAW/Mail-DKIM-0.52.tar.gz"
|
||||||
MD5SUM="9ceb8a0397aff83928e7a9760b1b190f"
|
MD5SUM="f366863f09905bbe5faa1f986133759c"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
REQUIRES="perl-Crypt-OpenSSL-RSA perl-MailTools perl-net-dns"
|
REQUIRES="perl-Crypt-OpenSSL-RSA perl-MailTools perl-net-dns"
|
||||||
|
|
Loading…
Reference in New Issue