mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
libraries/perl-net-dns: Updated for version 0.66
This commit is contained in:
parent
e2cb3c7c3e
commit
77d1c8abe2
4 changed files with 26 additions and 30 deletions
|
@ -4,5 +4,4 @@ Net::DNS is a DNS resolver implemented in Perl. It allows the
|
|||
programmer to perform nearly any type of DNS query from a Perl
|
||||
script
|
||||
|
||||
Requires perl-net-ip and perl-digest-hmac, both of which are
|
||||
available on SlackBuilds.org.
|
||||
This requires perl-net-ip and perl-digest-hmac.
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Slackware build script for perl-net-dns
|
||||
|
||||
# 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
|
||||
|
@ -23,7 +23,7 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=perl-net-dns
|
||||
VERSION=${VERSION:-0.65}
|
||||
VERSION=${VERSION:-0.66}
|
||||
ARCH=${ARCH:-i486}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
@ -63,27 +63,26 @@ find . \
|
|||
echo "y" | CFLAGS="$SLKCFLAGS" perl Makefile.PL INSTALLDIRS=vendor
|
||||
|
||||
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 {} \;
|
||||
done
|
||||
# Remove perllocal.pod and other special files that don't need to be installed
|
||||
( cd $PKG
|
||||
# Remove 'special' files
|
||||
find . -name perllocal.pod \
|
||||
-o -name ".packlist" \
|
||||
-o -name "*.bs" \
|
||||
| xargs rm -f
|
||||
)
|
||||
|
||||
# Remove empty directories
|
||||
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
|
||||
)
|
||||
|
||||
# compress man pages
|
||||
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || 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
|
||||
|
@ -92,14 +91,11 @@ find $PKG -depth -type d -empty -exec rm -rf {} \;
|
|||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a $DOCFILES $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
# copy demo files
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/demo
|
||||
cp -a demo/* $PKG/usr/doc/$PRGNAM-$VERSION/demo
|
||||
cp -a demo $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
sed -i "s#/usr/local/bin/perl#/usr/bin/perl#g" $PKG/usr/doc/$PRGNAM-$VERSION/demo/*
|
||||
|
||||
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}
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
PRGNAM="perl-net-dns"
|
||||
VERSION="0.65"
|
||||
VERSION="0.66"
|
||||
HOMEPAGE="http://search.cpan.org/dist/Net-DNS/"
|
||||
DOWNLOAD="http://search.cpan.org/CPAN/authors/id/O/OL/OLAF/Net-DNS-0.65.tar.gz"
|
||||
MD5SUM="54e5a12a20de39b954a93723927ac789"
|
||||
DOWNLOAD="http://search.cpan.org/CPAN/authors/id/O/OL/OLAF/Net-DNS-0.66.tar.gz"
|
||||
MD5SUM="1635d876324e3c2f6e277d5778bfe94c"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
MAINTAINER="LukenShiro"
|
||||
EMAIL="lukenshiro@ngi.it"
|
||||
APPROVED="dsomero"
|
||||
|
|
|
@ -8,13 +8,12 @@
|
|||
|-----handy-ruler--------------------------------------------------|
|
||||
perl-net-dns: perl-net-dns (perl DNS resolver module)
|
||||
perl-net-dns:
|
||||
perl-net-dns: It is a DNS resolver implemented in Perl. It allows the
|
||||
perl-net-dns: This is a DNS resolver implemented in Perl. It allows the
|
||||
perl-net-dns: programmer to perform nearly any type of DNS query from a Perl
|
||||
perl-net-dns: script.
|
||||
perl-net-dns:
|
||||
perl-net-dns:
|
||||
perl-net-dns:
|
||||
perl-net-dns:
|
||||
perl-net-dns:
|
||||
perl-net-dns: Homepage: http://search.cpan.org/dist/Net-DNS/
|
||||
perl-net-dns:
|
||||
|
||||
perl-net-dns:
|
||||
perl-net-dns:
|
||||
perl-net-dns:
|
||||
perl-net-dns:
|
||||
|
|
Loading…
Reference in a new issue