perl/perl-Log-Message-Simple: Switch to i586.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Andreas Voegele 2016-09-12 08:33:30 +07:00 committed by Willy Sudiarto Raharjo
parent deffa8e624
commit 3692577ad3
2 changed files with 5 additions and 6 deletions

View file

@ -18,14 +18,14 @@
PRGNAM=perl-Log-Message-Simple
VERSION=${VERSION:-0.10}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
SRCNAM="$(printf $PRGNAM | cut -d- -f2-)"
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@ -36,8 +36,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@ -66,7 +66,6 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
perl Makefile.PL \
PREFIX=/usr \
INSTALLDIRS=vendor \
INSTALLVENDORMAN1DIR=/usr/man/man1 \
INSTALLVENDORMAN3DIR=/usr/man/man3

View file

@ -1,7 +1,7 @@
PRGNAM="perl-Log-Message-Simple"
VERSION="0.10"
HOMEPAGE="https://metacpan.org/pod/Log::Message::Simple"
DOWNLOAD="http://www.cpan.org/authors/id/B/BI/BINGOS/Log-Message-Simple-0.10.tar.gz"
DOWNLOAD="https://cpan.metacpan.org/authors/id/B/BI/BINGOS/Log-Message-Simple-0.10.tar.gz"
MD5SUM="0a0f9df6bc1148cc2aae4cb2882c0664"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""