diff options
author | David Spencer <idlemoor@slackbuilds.org> | 2016-08-27 22:50:36 +0100 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2016-08-28 00:22:59 +0100 |
commit | 4c1e200f27cddb0bb29ad8d4bdc5ca00a0f36a26 (patch) | |
tree | 66134d9465fd309c99b964454de003a713282255 /perl/perl-IO-Tty/perl-IO-Tty.SlackBuild | |
parent | f0c8c17dfa6aac3c38a4c2846243d7a151b02250 (diff) | |
download | slackbuilds-4c1e200f27cddb0bb29ad8d4bdc5ca00a0f36a26.tar.gz |
perl/perl-IO-Tty: Updated for version 1.12.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'perl/perl-IO-Tty/perl-IO-Tty.SlackBuild')
-rw-r--r-- | perl/perl-IO-Tty/perl-IO-Tty.SlackBuild | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/perl/perl-IO-Tty/perl-IO-Tty.SlackBuild b/perl/perl-IO-Tty/perl-IO-Tty.SlackBuild index f04dbd7f6f..2ce6b7978f 100644 --- a/perl/perl-IO-Tty/perl-IO-Tty.SlackBuild +++ b/perl/perl-IO-Tty/perl-IO-Tty.SlackBuild @@ -5,7 +5,7 @@ # Written by ruario <sbo@ruari.com> PRGNAM=perl-IO-Tty -VERSION=${VERSION:-1.10} +VERSION=${VERSION:-1.12} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -13,7 +13,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 @@ -24,8 +24,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" @@ -48,10 +48,10 @@ tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $SRCNAM-$VERSION chown -R root:root . find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; perl Makefile.PL \ PREFIX=/usr \ |