summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libraries/perl-BerkeleyDB/README2
-rw-r--r--libraries/perl-BerkeleyDB/perl-BerkeleyDB.SlackBuild23
-rw-r--r--libraries/perl-BerkeleyDB/perl-BerkeleyDB.info8
3 files changed, 15 insertions, 18 deletions
diff --git a/libraries/perl-BerkeleyDB/README b/libraries/perl-BerkeleyDB/README
index fa4918bc58..6d096d5bd9 100644
--- a/libraries/perl-BerkeleyDB/README
+++ b/libraries/perl-BerkeleyDB/README
@@ -1,3 +1,3 @@
perl-BerkeleyDB is a Perl extension for Berkeley DB version 2, 3 or 4.
-This is required for amavisd-new package.
+perl-BerkeleyDB is required for amavisd-new package.
diff --git a/libraries/perl-BerkeleyDB/perl-BerkeleyDB.SlackBuild b/libraries/perl-BerkeleyDB/perl-BerkeleyDB.SlackBuild
index 07d17691ca..df199f6677 100644
--- a/libraries/perl-BerkeleyDB/perl-BerkeleyDB.SlackBuild
+++ b/libraries/perl-BerkeleyDB/perl-BerkeleyDB.SlackBuild
@@ -27,8 +27,8 @@
# Modified by the SlackBuilds.org project.
SRCNAM=BerkeleyDB
-PRGNAM=perl-BerkeleyDB
-VERSION=0.42
+PRGNAM=perl-$SRCNAM
+VERSION=${VERSION:-0.43}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -89,21 +89,18 @@ cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
# Remove perlocal.pod and .packlist from $PKG
-( cd $PKG
- find . -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f
-)
+find $PKG -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f
-# Remove empty directories
-find $PKG -depth -type d -empty -exec rm -rf {} \;
-
-### strip binaries
+# strip binaries
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
- for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
-)
+# find & compress man pages
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $(find $PKG/usr/man -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
+
+# Remove empty directories
+find $PKG -depth -type d -empty -exec rm -rf {} \;
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/libraries/perl-BerkeleyDB/perl-BerkeleyDB.info b/libraries/perl-BerkeleyDB/perl-BerkeleyDB.info
index 2e6ae9e13c..840cfa83f9 100644
--- a/libraries/perl-BerkeleyDB/perl-BerkeleyDB.info
+++ b/libraries/perl-BerkeleyDB/perl-BerkeleyDB.info
@@ -1,10 +1,10 @@
PRGNAM="perl-BerkeleyDB"
-VERSION="0.42"
+VERSION="0.43"
HOMEPAGE="http://search.cpan.org/dist/BerkeleyDB/"
-DOWNLOAD="http://search.cpan.org/CPAN/authors/id/P/PM/PMQS/BerkeleyDB-0.42.tar.gz"
-MD5SUM="4b9c1f6e62b6ef40e6bdc673a3a30a32"
+DOWNLOAD="http://search.cpan.org/CPAN/authors/id/P/PM/PMQS/BerkeleyDB-0.43.tar.gz"
+MD5SUM="3d0cf0651ed8cd3fc36e328d5924a1e9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Nishant Limbachia"
EMAIL="nishant@mnspace.net"
-APPROVED="Erik Hanson"
+APPROVED="dsomero"