network/perl-Net-Server: Updated for version 0.99.

Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
Nishant Limbachia 2010-08-14 17:19:27 -04:00 committed by dsomero
parent 93706b0534
commit 9a7e1ddb87
2 changed files with 15 additions and 17 deletions

View file

@ -27,8 +27,8 @@
# Modified by the SlackBuilds.org project. # Modified by the SlackBuilds.org project.
SRCNAM=Net-Server SRCNAM=Net-Server
PRGNAM=perl-Net-Server PRGNAM=perl-$SRCNAM
VERSION=0.97 VERSION=${VERSION:-0.99}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -75,18 +75,16 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
# Remove perlocal.pod and .packlist from $PKG # Compress man pages
( cd $PKG find $PKG/usr/man -type f -exec gzip -9 {} \;
find . -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
)
# Remove perllocal.pod and other special files that don't need to be installed,
# as they will overwrite what's already on the system.
find $PKG -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true
# Remove empty directories # Remove empty directories
find $PKG -depth -type d -empty -exec rm -rf {} \; find $PKG -depth -type d -empty -delete || true
( 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
)
mkdir -p $PKG/install mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/slack-desc > $PKG/install/slack-desc

View file

@ -1,8 +1,8 @@
PRGNAM="perl-Net-Server" PRGNAM="perl-Net-Server"
VERSION="0.97" VERSION="0.99"
HOMEPAGE="http://search.cpan.org/dist/Net-Server/" HOMEPAGE="http://search.cpan.org/dist/Net-Server/"
DOWNLOAD="http://search.cpan.org/CPAN/authors/id/R/RH/RHANDOM/Net-Server-0.97.tar.gz" DOWNLOAD="http://search.cpan.org/CPAN/authors/id/R/RH/RHANDOM/Net-Server-0.99.tar.gz"
MD5SUM="f884b6c5b1d2698a82bbc7ba659690a1" MD5SUM="1ae03dff8b1009216a2e5d8f4c9a47b1"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
MAINTAINER="Nishant Limbachia" MAINTAINER="Nishant Limbachia"