diff options
Diffstat (limited to 'perl/perl-Cache-FastMmap/perl-Cache-FastMmap.SlackBuild')
-rw-r--r-- | perl/perl-Cache-FastMmap/perl-Cache-FastMmap.SlackBuild | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/perl/perl-Cache-FastMmap/perl-Cache-FastMmap.SlackBuild b/perl/perl-Cache-FastMmap/perl-Cache-FastMmap.SlackBuild index ae4a12290a..3807c67b03 100644 --- a/perl/perl-Cache-FastMmap/perl-Cache-FastMmap.SlackBuild +++ b/perl/perl-Cache-FastMmap/perl-Cache-FastMmap.SlackBuild @@ -3,7 +3,7 @@ # Slackware Package Build Script for perl modules: Cache::FastMmap # Home Page http://search.cpan.org/dist/Cache-FastMmap/ -# Copyright (c) 2008-2012, Nishant Limbachia, Hoffman Estates, IL, USA +# Copyright (c) 2008-2016, Nishant Limbachia, Hoffman Estates, IL, USA # (nishant _AT_ mnspace _DOT_ net) # All rights reserved. @@ -27,13 +27,12 @@ # # Modified by the SlackBuilds.org project. -PRGNAM=perl-Cache-FastMmap -VERSION=${VERSION:-1.40} +SRCNAM=Cache-FastMmap +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-1.44} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -SRCNAM=$(echo $PRGNAM | cut -f2- -d-) - if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; @@ -72,10 +71,10 @@ tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $TMP/$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 {} \; CFLAGS="$SLKCFLAGS" \ perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLVENDORMAN3DIR=/usr/man/man3 @@ -88,7 +87,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 | xargs file | grep -e "executable" -e "shared object" | grep ELF \ +find $PKG -print0 | xargs -0 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 {} \; |