From c3231cb6875eb52d685005899d0c1bbf09de0ce8 Mon Sep 17 00:00:00 2001 From: Nishant Limbachia Date: Tue, 19 Jul 2011 11:53:47 -0300 Subject: perl/perl-BerkeleyDB: Updated for version 0.48. Signed-off-by: Niels Horn --- perl/perl-BerkeleyDB/perl-BerkeleyDB.SlackBuild | 13 ++++--------- perl/perl-BerkeleyDB/perl-BerkeleyDB.info | 8 ++++---- perl/perl-BerkeleyDB/slack-desc | 2 +- 3 files changed, 9 insertions(+), 14 deletions(-) (limited to 'perl') diff --git a/perl/perl-BerkeleyDB/perl-BerkeleyDB.SlackBuild b/perl/perl-BerkeleyDB/perl-BerkeleyDB.SlackBuild index df199f6677c6..acf1bd0cd6fa 100644 --- a/perl/perl-BerkeleyDB/perl-BerkeleyDB.SlackBuild +++ b/perl/perl-BerkeleyDB/perl-BerkeleyDB.SlackBuild @@ -26,18 +26,17 @@ # # Modified by the SlackBuilds.org project. -SRCNAM=BerkeleyDB -PRGNAM=perl-$SRCNAM -VERSION=${VERSION:-0.43} +PRGNAM=perl-BerkeleyDB +VERSION=${VERSION:-0.48} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: +SRCNAM=$(echo $PRGNAM | cut -f2 -d-) + if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -88,18 +87,14 @@ 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 find $PKG -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f -# 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 -# 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 diff --git a/perl/perl-BerkeleyDB/perl-BerkeleyDB.info b/perl/perl-BerkeleyDB/perl-BerkeleyDB.info index 840cfa83f9a1..9e3ee1ed9107 100644 --- a/perl/perl-BerkeleyDB/perl-BerkeleyDB.info +++ b/perl/perl-BerkeleyDB/perl-BerkeleyDB.info @@ -1,10 +1,10 @@ PRGNAM="perl-BerkeleyDB" -VERSION="0.43" +VERSION="0.48" HOMEPAGE="http://search.cpan.org/dist/BerkeleyDB/" -DOWNLOAD="http://search.cpan.org/CPAN/authors/id/P/PM/PMQS/BerkeleyDB-0.43.tar.gz" -MD5SUM="3d0cf0651ed8cd3fc36e328d5924a1e9" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/P/PM/PMQS/BerkeleyDB-0.48.tar.gz" +MD5SUM="a37422a3ee116bc1f9f928a4a36edc31" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="Nishant Limbachia" EMAIL="nishant@mnspace.net" -APPROVED="dsomero" +APPROVED="Niels Horn" diff --git a/perl/perl-BerkeleyDB/slack-desc b/perl/perl-BerkeleyDB/slack-desc index 978a44e3f826..29c3e0394872 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/ -- cgit v1.2.3