diff options
author | Edinaldo P. Silva <edps.mundognu@gmail.com> | 2017-05-20 16:50:17 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-05-27 07:29:15 +0700 |
commit | 1533ee19ba0fc48c7231110695ca211a4b089c87 (patch) | |
tree | 08d9f38143eb186cb284e0acadfd2b86836f9fa3 /perl/perl-ExtUtils-Install/perl-ExtUtils-Install.SlackBuild | |
parent | 22c5e656a943f8ea91787e036258aaf3d247428a (diff) |
perl/perl-ExtUtils-Install: Updated for version 2.10.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'perl/perl-ExtUtils-Install/perl-ExtUtils-Install.SlackBuild')
-rw-r--r-- | perl/perl-ExtUtils-Install/perl-ExtUtils-Install.SlackBuild | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/perl/perl-ExtUtils-Install/perl-ExtUtils-Install.SlackBuild b/perl/perl-ExtUtils-Install/perl-ExtUtils-Install.SlackBuild index ad31a82c5079..9559fb191599 100644 --- a/perl/perl-ExtUtils-Install/perl-ExtUtils-Install.SlackBuild +++ b/perl/perl-ExtUtils-Install/perl-ExtUtils-Install.SlackBuild @@ -2,7 +2,7 @@ # # Slackware build script for perl-ExtUtils-Install. # -# Copyright 2015 Edinaldo P. Silva, Rio de Janeiro, Brazil. +# Copyright 2015-2017 Edinaldo P. Silva, Rio de Janeiro, Brazil. # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=perl-ExtUtils-Install -VERSION=${VERSION:-2.04} +VERSION=${VERSION:-2.10} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -31,7 +31,7 @@ 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 @@ -42,8 +42,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" @@ -85,7 +85,6 @@ find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true - find $PKG -depth -type d -empty -delete || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION |