aboutsummaryrefslogtreecommitdiff
path: root/perl/perl-BerkeleyDB/perl-BerkeleyDB.SlackBuild
diff options
context:
space:
mode:
authorNishant Limbachia <nishant@mnspace.net>2015-08-11 08:37:09 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-08-11 23:25:24 +0700
commitc5b4a4d0d3559cde5ff943cb643665530ffb0f55 (patch)
tree6854d22f80751d541fed691fcbebcd699b8e0b3c /perl/perl-BerkeleyDB/perl-BerkeleyDB.SlackBuild
parent0f72737acea9011f88cb8738a4100461d7411385 (diff)
perl/perl-BerkeleyDB: Updated for version 0.25.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'perl/perl-BerkeleyDB/perl-BerkeleyDB.SlackBuild')
-rw-r--r--perl/perl-BerkeleyDB/perl-BerkeleyDB.SlackBuild11
1 files changed, 5 insertions, 6 deletions
diff --git a/perl/perl-BerkeleyDB/perl-BerkeleyDB.SlackBuild b/perl/perl-BerkeleyDB/perl-BerkeleyDB.SlackBuild
index aa6eb4e9cac2d..3c51c458846f8 100644
--- a/perl/perl-BerkeleyDB/perl-BerkeleyDB.SlackBuild
+++ b/perl/perl-BerkeleyDB/perl-BerkeleyDB.SlackBuild
@@ -3,7 +3,7 @@
# Slackware Package Build Script for perl modules: BerkeleyDB
# Home Page http://search.cpan.org/dist/BerkeleyDB/
-# Copyright (c) 2009-2013, Nishant Limbachia, Hoffman Estates, IL, USA
+# Copyright (c) 2009-2015, Nishant Limbachia, Hoffman Estates, IL, USA
# (nishant _AT_ mnspace _DOT_ net)
# All rights reserved.
@@ -28,7 +28,7 @@
# Modified by the SlackBuilds.org project.
PRGNAM="perl-BerkeleyDB"
-VERSION=${VERSION:-0.53}
+VERSION=${VERSION:-0.55}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -72,10 +72,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 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 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLVENDORMAN3DIR=/usr/man/man3
@@ -87,7 +87,6 @@ make install DESTDIR=$PKG
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/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 0644 {} \;
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true