perl/perl-http-message: Updated for version 6.06.

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
LukenShiro 2012-12-29 14:23:40 +01:00 committed by Matteo Bernardini
parent 80b4be21c4
commit 3e168c3203
2 changed files with 8 additions and 10 deletions

View file

@ -2,7 +2,7 @@
# Slackware build script for perl-http-message
# Copyright 2011-2012 LukenShiro, Italy
# Copyright 2011-2013 LukenShiro, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=perl-http-message
VERSION=${VERSION:-6.03}
VERSION=${VERSION:-6.06}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -58,7 +58,7 @@ 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 \
echo "y" | perl Makefile.PL \
PREFIX=/usr \
INSTALLDIRS=vendor \
INSTALLVENDORMAN3DIR=/usr/man/man3
@ -66,11 +66,9 @@ make
make test
make install DESTDIR=$PKG
# Remove perllocal.pod and other special files that don't need to be installed
find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true
# Remove empty directories
find $PKG -depth -type d -empty -exec rm -rf {} \;
find $PKG -depth -type d -empty -delete
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true

View file

@ -1,10 +1,10 @@
PRGNAM="perl-http-message"
VERSION="6.03"
VERSION="6.06"
HOMEPAGE="http://search.cpan.org/dist/HTTP-Message/"
DOWNLOAD="http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/HTTP-Message-6.03.tar.gz"
MD5SUM="d41b22c7c01b974f2b4e85d401a6b552"
DOWNLOAD="http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/HTTP-Message-6.06.tar.gz"
MD5SUM="e563ac516e28d33f65bc0f295f625f85"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="perl-encode-locale perl-html-parser perl-http-date perl-lwp-mediatypes"
REQUIRES="perl-encode-locale perl-html-parser perl-http-date perl-lwp-mediatypes perl-IO-HTML"
MAINTAINER="LukenShiro"
EMAIL="lukenshiro@ngi.it"