diff options
Diffstat (limited to 'perl/perl-Test-SharedFork/perl-Test-SharedFork.SlackBuild')
-rw-r--r-- | perl/perl-Test-SharedFork/perl-Test-SharedFork.SlackBuild | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/perl/perl-Test-SharedFork/perl-Test-SharedFork.SlackBuild b/perl/perl-Test-SharedFork/perl-Test-SharedFork.SlackBuild index 76effbc902..1174fc5859 100644 --- a/perl/perl-Test-SharedFork/perl-Test-SharedFork.SlackBuild +++ b/perl/perl-Test-SharedFork/perl-Test-SharedFork.SlackBuild @@ -3,7 +3,7 @@ # Slackware Package Build Script for perl module: Test-SharedFork # Home Page http://search.cpan.org/dist/Test-SharedFork/ -# Copyright (c) 2014, Nishant Limbachia, Hoffman Estates, IL, USA +# Copyright (c) 2014-2016, Nishant Limbachia, Hoffman Estates, IL, USA # (nishant _AT_ mnspace _DOT_ net) # All rights reserved. @@ -27,15 +27,15 @@ PRGNAM="perl-Test-SharedFork" -VERSION=${VERSION:-0.34} +VERSION=${VERSION:-0.35} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -SRCNAM="$(printf $PRGNAM | cut -f2- -d-)" +SRCNAM="Test-SharedFork" if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -50,8 +50,8 @@ set -e DOCS="Changes LICENSE" -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" @@ -91,7 +91,7 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ +find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true find $PKG/usr/man -type f -exec gzip -9 {} \; |