mirror of
https://github.com/Ponce/slackbuilds
synced 2024-12-02 13:04:42 +01:00
perl/perl-IO-Tty: Updated for version 1.12.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
f0c8c17dfa
commit
4c1e200f27
2 changed files with 11 additions and 11 deletions
|
@ -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 \
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="perl-IO-Tty"
|
||||
VERSION="1.10"
|
||||
VERSION="1.12"
|
||||
HOMEPAGE="https://metacpan.org/pod/IO::Tty"
|
||||
DOWNLOAD="http://cpan.metacpan.org/authors/id/T/TO/TODDR/IO-Tty-1.10.tar.gz"
|
||||
MD5SUM="46baec86a145e57f0ec661fa412b097c"
|
||||
DOWNLOAD="https://cpan.metacpan.org/authors/id/T/TO/TODDR/IO-Tty-1.12.tar.gz"
|
||||
MD5SUM="11695a1a516b3bd1b90ce75ff0ce3e6d"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
Loading…
Reference in a new issue