perl/perl-ExtUtils-Install: Updated for version 2.10.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
Edinaldo P. Silva 2017-05-20 16:50:17 +01:00 committed by Willy Sudiarto Raharjo
parent 22c5e656a9
commit 1533ee19ba
2 changed files with 8 additions and 9 deletions

View file

@ -2,7 +2,7 @@
# #
# Slackware build script for perl-ExtUtils-Install. # 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. # All rights reserved.
# #
# Redistribution and use of this script, with or without modification, is # Redistribution and use of this script, with or without modification, is
@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=perl-ExtUtils-Install PRGNAM=perl-ExtUtils-Install
VERSION=${VERSION:-2.04} VERSION=${VERSION:-2.10}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -31,7 +31,7 @@ SRCNAM="$(printf $PRGNAM | cut -d- -f2-)"
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
@ -42,8 +42,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp} OUTPUT=${OUTPUT:-/tmp}
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"
@ -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 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 -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true
find $PKG -depth -type d -empty -delete || true find $PKG -depth -type d -empty -delete || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION

View file

@ -1,8 +1,8 @@
PRGNAM="perl-ExtUtils-Install" PRGNAM="perl-ExtUtils-Install"
VERSION="2.04" VERSION="2.10"
HOMEPAGE="https://metacpan.org/pod/ExtUtils::Install" HOMEPAGE="https://metacpan.org/pod/ExtUtils::Install"
DOWNLOAD="https://cpan.metacpan.org/authors/id/B/BI/BINGOS/ExtUtils-Install-2.04.tar.gz" DOWNLOAD="https://cpan.metacpan.org/authors/id/B/BI/BINGOS/ExtUtils-Install-2.10.tar.gz"
MD5SUM="5784c74271dcb5f85dd9564e3d3cb726" MD5SUM="72ebe6845b3755fbeedec99c228f9f4e"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="" REQUIRES=""