aboutsummaryrefslogtreecommitdiff
path: root/perl/perl-Cache-FastMmap
diff options
context:
space:
mode:
authorNishant Limbachia <nishant@mnspace.net>2016-10-26 08:06:56 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-10-26 08:06:56 +0700
commit608ccf4800b2737c6b53edd5919ae2ce6a5be99f (patch)
treef0bc68d388cc5db29b0f6369317172d5cd1be431 /perl/perl-Cache-FastMmap
parent0c7b24b00469e33f4bafa5d2316bbdb598be58fc (diff)
perl/perl-Cache-FastMmap: Updated for version 1.44.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'perl/perl-Cache-FastMmap')
-rw-r--r--perl/perl-Cache-FastMmap/perl-Cache-FastMmap.SlackBuild19
-rw-r--r--perl/perl-Cache-FastMmap/perl-Cache-FastMmap.info8
2 files changed, 13 insertions, 14 deletions
diff --git a/perl/perl-Cache-FastMmap/perl-Cache-FastMmap.SlackBuild b/perl/perl-Cache-FastMmap/perl-Cache-FastMmap.SlackBuild
index ae4a12290a179..3807c67b03bca 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 {} \;
diff --git a/perl/perl-Cache-FastMmap/perl-Cache-FastMmap.info b/perl/perl-Cache-FastMmap/perl-Cache-FastMmap.info
index 8ea994f467879..900ebfe4d3bc5 100644
--- a/perl/perl-Cache-FastMmap/perl-Cache-FastMmap.info
+++ b/perl/perl-Cache-FastMmap/perl-Cache-FastMmap.info
@@ -1,8 +1,8 @@
PRGNAM="perl-Cache-FastMmap"
-VERSION="1.40"
-HOMEPAGE="https://metacpan.org/pod/Cache::FastMmap"
-DOWNLOAD="http://www.cpan.org/authors/id/R/RO/ROBM/Cache-FastMmap-1.40.tar.gz"
-MD5SUM="e0929ba556c629a43f5d65a2b6cb9a2f"
+VERSION="1.44"
+HOMEPAGE="http://search.cpan.org/dist/Cache-FastMmap/"
+DOWNLOAD="http://search.cpan.org/CPAN/authors/id/R/RO/ROBM/Cache-FastMmap-1.44.tar.gz"
+MD5SUM="2a5c039592999ed197e976650cf6adfa"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""