aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorLukenShiro <lukenshiro@ngi.it>2010-10-17 14:58:15 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-10-17 14:58:15 -0500
commitbc8dea037534def5f9bd3cc4eb5246fbc58d7bcf (patch)
tree6410cafc7d0415160732e00e94e082534433bbf7 /libraries
parent58185ed568c9b2aca8dc530d6b6ee3767321787c (diff)
libraries/perl-digest-sha1: Updated for version 2.13.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/perl-digest-sha1/perl-digest-sha1.SlackBuild25
-rw-r--r--libraries/perl-digest-sha1/perl-digest-sha1.info8
-rw-r--r--libraries/perl-digest-sha1/slack-desc9
3 files changed, 16 insertions, 26 deletions
diff --git a/libraries/perl-digest-sha1/perl-digest-sha1.SlackBuild b/libraries/perl-digest-sha1/perl-digest-sha1.SlackBuild
index b04ef9cb3e310..096b7b8b86359 100644
--- a/libraries/perl-digest-sha1/perl-digest-sha1.SlackBuild
+++ b/libraries/perl-digest-sha1/perl-digest-sha1.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for perl-digest-sha1
-# Copyright 2008-2009 LukenShiro <lukenshiro@ngi.it>
+# Copyright 2008-2010 LukenShiro <lukenshiro@ngi.it>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,19 +22,17 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
PRGNAM=perl-digest-sha1
-SRC_PRGNAM=Digest-SHA1
-VERSION=${VERSION:-2.12}
+VERSION=${VERSION:-2.13}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
+SRC_PRGNAM=Digest-SHA1
+
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
@@ -75,15 +73,12 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-echo "y" | CFLAGS="$SLKCFLAGS" perl Makefile.PL INSTALLDIRS=vendor
+echo "y" | CFLAGS="$SLKCFLAGS" perl Makefile.PL INSTALLDIRS=vendor \
+ INSTALLVENDORMAN3DIR=/usr/man/man3
make
-
make install DESTDIR=$PKG
-#Move man-pages to appropriate place
-mv $PKG/usr/share/man $PKG/usr/
-
# Remove perlocal.pod, .packlist and .bs from $PKG
( for i in perllocal.pod .packlist *.bs; do
find $PKG -name "$i" -exec rm -rf {} \;
@@ -93,15 +88,11 @@ mv $PKG/usr/share/man $PKG/usr/
# Remove empty directories
find $PKG -depth -type d -empty -exec rm -rf {} \;
-# strip libraries
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-# compress man pages
-( 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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCFILES $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/libraries/perl-digest-sha1/perl-digest-sha1.info b/libraries/perl-digest-sha1/perl-digest-sha1.info
index 0ea1205b8ec86..a36ffdca7d1ad 100644
--- a/libraries/perl-digest-sha1/perl-digest-sha1.info
+++ b/libraries/perl-digest-sha1/perl-digest-sha1.info
@@ -1,10 +1,10 @@
PRGNAM="perl-digest-sha1"
-VERSION="2.12"
+VERSION="2.13"
HOMEPAGE="http://search.cpan.org/dist/Digest-SHA1/"
-DOWNLOAD="http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Digest-SHA1-2.12.tar.gz"
-MD5SUM="eeb0292868801a202bd7ead87b291374"
+DOWNLOAD="http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Digest-SHA1-2.13.tar.gz"
+MD5SUM="bd22388f268434f2b24f64e28bf1aa35"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="LukenShiro"
EMAIL="lukenshiro@ngi.it"
-APPROVED="dsomero"
+APPROVED="rworkman"
diff --git a/libraries/perl-digest-sha1/slack-desc b/libraries/perl-digest-sha1/slack-desc
index b4082797a0106..8280d4722b4b5 100644
--- a/libraries/perl-digest-sha1/slack-desc
+++ b/libraries/perl-digest-sha1/slack-desc
@@ -12,9 +12,8 @@ perl-digest-sha1: It allows you to use the NIST SHA-1 message digest algorithm
perl-digest-sha1: from within Perl programs. The algorithm takes as input a
perl-digest-sha1: message of arbitrary length and produces as output a 160-bit
perl-digest-sha1: "fingerprint" or "message digest" of the input.
-perl-digest-sha1:
-perl-digest-sha1:
-perl-digest-sha1:
+perl-digest-sha1:
perl-digest-sha1: Homepage: http://search.cpan.org/dist/Digest-SHA1
-perl-digest-sha1:
-
+perl-digest-sha1:
+perl-digest-sha1:
+perl-digest-sha1: