diff options
author | LukenShiro <lukenshiro@ngi.it> | 2010-05-13 00:32:42 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-13 00:32:42 +0200 |
commit | 61a737946b0de167f4300c2b385497dc7b2c0eee (patch) | |
tree | 5a7d9fe4c778cc0a665d3f1a3381506a7082991c /libraries/perl-digest-sha1 | |
parent | eee6da2375b8fae161ce5b345a325654804cd9d7 (diff) |
libraries/perl-digest-sha1: Updated for version 2.12
Diffstat (limited to 'libraries/perl-digest-sha1')
-rw-r--r-- | libraries/perl-digest-sha1/perl-digest-sha1.SlackBuild | 16 | ||||
-rw-r--r-- | libraries/perl-digest-sha1/perl-digest-sha1.info | 10 |
2 files changed, 16 insertions, 10 deletions
diff --git a/libraries/perl-digest-sha1/perl-digest-sha1.SlackBuild b/libraries/perl-digest-sha1/perl-digest-sha1.SlackBuild index eb0dd2bd3330d..acdd4460398f8 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 LukenShiro <lukenshiro@ngi.it> +# Copyright 2008-2009 LukenShiro <lukenshiro@ngi.it> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ PRGNAM=perl-digest-sha1 SRC_PRGNAM=Digest-SHA1 -VERSION=${VERSION:-2.11} +VERSION=${VERSION:-2.12} ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -39,12 +39,15 @@ DOCFILES="fip180-1.* Changes README" if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" fi - + set -e # Exit on most errors rm -rf $PKG @@ -80,9 +83,10 @@ find $PKG -depth -type d -empty -exec rm -rf {} \; # strip libraries ( cd $PKG - find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null + find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \ + xargs strip --strip-unneeded 2> /dev/null ) - + # compress man pages ( cd $PKG/usr/man find . -type f -exec gzip -9 {} \; @@ -97,4 +101,4 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/libraries/perl-digest-sha1/perl-digest-sha1.info b/libraries/perl-digest-sha1/perl-digest-sha1.info index 98910a7bc1754..0ea1205b8ec86 100644 --- a/libraries/perl-digest-sha1/perl-digest-sha1.info +++ b/libraries/perl-digest-sha1/perl-digest-sha1.info @@ -1,8 +1,10 @@ PRGNAM="perl-digest-sha1" -VERSION="2.11" +VERSION="2.12" HOMEPAGE="http://search.cpan.org/dist/Digest-SHA1/" -DOWNLOAD="http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Digest-SHA1-2.11.tar.gz" -MD5SUM="2449bfe21d6589c96eebf94dae24df6b" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Digest-SHA1-2.12.tar.gz" +MD5SUM="eeb0292868801a202bd7ead87b291374" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" MAINTAINER="LukenShiro" EMAIL="lukenshiro@ngi.it" -APPROVED="David Somero" +APPROVED="dsomero" |