perl/perl-BerkeleyDB: Updated for version 0.25.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Nishant Limbachia 2015-08-11 08:37:09 +07:00 committed by Willy Sudiarto Raharjo
parent 0f72737ace
commit c5b4a4d0d3
2 changed files with 9 additions and 10 deletions

View file

@ -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

View file

@ -1,8 +1,8 @@
PRGNAM="perl-BerkeleyDB"
VERSION="0.53"
HOMEPAGE="https://metacpan.org/pod/BerkeleyDB"
DOWNLOAD="http://www.cpan.org/authors/id/P/PM/PMQS/BerkeleyDB-0.53.tar.gz"
MD5SUM="899c6967316c7a36b1d5b6a4c7ffbb02"
VERSION="0.55"
HOMEPAGE="http://search.cpan.org/dist/BerkeleyDB/"
DOWNLOAD="http://search.cpan.org/CPAN/authors/id/P/PM/PMQS/BerkeleyDB-0.55.tar.gz"
MD5SUM="7aa018597792a2f56e80f31d3fe76fa2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""