summaryrefslogtreecommitdiff
path: root/perl/perl-BerkeleyDB
diff options
context:
space:
mode:
authorNishant Limbachia <nishant@mnspace.net>2012-02-19 17:39:39 -0200
committerNiels Horn <niels.horn@slackbuilds.org>2012-02-19 17:39:39 -0200
commitf24375c1033185656f126a3ec7eab56b5f33e42b (patch)
treeee0655cce30b9c0ff917288e02d36fbcca90f07b /perl/perl-BerkeleyDB
parent2ae59690fb4e9da122bc100ec56e9fa524daaad8 (diff)
downloadslackbuilds-f24375c1033185656f126a3ec7eab56b5f33e42b.tar.gz
perl/perl-BerkeleyDB: Updated for version 0.50.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'perl/perl-BerkeleyDB')
-rw-r--r--perl/perl-BerkeleyDB/perl-BerkeleyDB.SlackBuild30
-rw-r--r--perl/perl-BerkeleyDB/perl-BerkeleyDB.info8
-rw-r--r--perl/perl-BerkeleyDB/slack-desc2
3 files changed, 18 insertions, 22 deletions
diff --git a/perl/perl-BerkeleyDB/perl-BerkeleyDB.SlackBuild b/perl/perl-BerkeleyDB/perl-BerkeleyDB.SlackBuild
index 1c289fa1c0..13727404cf 100644
--- a/perl/perl-BerkeleyDB/perl-BerkeleyDB.SlackBuild
+++ b/perl/perl-BerkeleyDB/perl-BerkeleyDB.SlackBuild
@@ -3,7 +3,8 @@
# Slackware Package Build Script for perl modules: BerkeleyDB
# Home Page http://search.cpan.org/dist/BerkeleyDB/
-# Copyright (c) 2009-2011, Nishant Limbachia, Hoffman Estates, IL, USA (nishant _AT_ mnspace _DOT_ net)
+# Copyright (c) 2009-2012, Nishant Limbachia, Hoffman Estates, IL, USA
+# (nishant _AT_ mnspace _DOT_ net)
# All rights reserved.
# Redistribution and use of this script, with or without modification, is
@@ -26,12 +27,13 @@
#
# Modified by the SlackBuilds.org project.
-SRCNAM=BerkeleyDB
-PRGNAM=perl-$SRCNAM
-VERSION=${VERSION:-0.49}
+PRGNAM=perl-BerkeleyDB
+VERSION=${VERSION:-0.50}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+SRCNAM=$(echo $PRGNAM | cut -f2- -d-)
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
@@ -86,22 +88,16 @@ 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
-# Remove perlocal.pod and .packlist from $PKG
-( cd $PKG
- find . -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
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 $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
+
+find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true
+
+# 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/perl/perl-BerkeleyDB/perl-BerkeleyDB.info b/perl/perl-BerkeleyDB/perl-BerkeleyDB.info
index 823cc5fdca..b1ef1c30cf 100644
--- a/perl/perl-BerkeleyDB/perl-BerkeleyDB.info
+++ b/perl/perl-BerkeleyDB/perl-BerkeleyDB.info
@@ -1,10 +1,10 @@
PRGNAM="perl-BerkeleyDB"
-VERSION="0.49"
+VERSION="0.50"
HOMEPAGE="http://search.cpan.org/dist/BerkeleyDB/"
-DOWNLOAD="http://search.cpan.org/CPAN/authors/id/P/PM/PMQS/BerkeleyDB-0.49.tar.gz"
-MD5SUM="8a1883f87ba82fc1614a636c8f899ea5"
+DOWNLOAD="http://search.cpan.org/CPAN/authors/id/P/PM/PMQS/BerkeleyDB-0.50.tar.gz"
+MD5SUM="6afc8f49133c262c606d1b96e1412863"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Nishant Limbachia"
EMAIL="nishant@mnspace.net"
-APPROVED="Erik Hanson"
+APPROVED="Niels Horn"
diff --git a/perl/perl-BerkeleyDB/slack-desc b/perl/perl-BerkeleyDB/slack-desc
index 978a44e3f8..29c3e03948 100644
--- a/perl/perl-BerkeleyDB/slack-desc
+++ b/perl/perl-BerkeleyDB/slack-desc
@@ -11,7 +11,7 @@ perl-BerkeleyDB:
perl-BerkeleyDB: perl-BerkeleyDB is a Perl extension for Berkeley DB
perl-BerkeleyDB: version 2, 3 or 4
perl-BerkeleyDB:
-perl-BerkeleyDB:
+perl-BerkeleyDB:
perl-BerkeleyDB:
perl-BerkeleyDB:
perl-BerkeleyDB: Homepage: http://search.cpan.org/dist/BerkeleyDB/