mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
libraries/perl-digest-sha1: Updated for version 2.13.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
parent
58185ed568
commit
bc8dea0375
3 changed files with 16 additions and 26 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue