wok-next annotate perl-net-dns/receipt @ rev 2666

perl-net-dns: do not wait on stdin
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Apr 19 14:57:12 2009 +0200 (2009-04-19)
parents 56876e429dfe
children de800ad8c510
rev   line source
erjo@2647 1 # SliTaz package receipt.
erjo@2647 2
erjo@2647 3 PACKAGE="perl-net-dns"
erjo@2647 4 VERSION="0.65"
erjo@2647 5 CATEGORY="development"
erjo@2647 6 SHORT_DESC="Net::DNS module is a Perl extension."
erjo@2647 7 MAINTAINER="erjo@slitaz.org"
erjo@2664 8 DEPENDS="perl perl-io-socket-inet6"
erjo@2656 9 BUILD_DEPENDS="perl perl-io-socket-inet6"
erjo@2647 10 SOURCE="Net-DNS"
erjo@2647 11 TARBALL="$SOURCE-$VERSION.tar.gz"
erjo@2647 12 WEB_SITE="http://cpan.org/"
erjo@2647 13 WGET_URL="http://search.cpan.org/CPAN/authors/id/O/OL/OLAF/$TARBALL"
erjo@2647 14
erjo@2657 15
erjo@2647 16 # Rules to configure and make the package.
erjo@2647 17 compile_rules()
erjo@2647 18 {
erjo@2647 19 cd $src
pascal@2666 20 yes n | perl Makefile.PL
erjo@2647 21 make
erjo@2647 22 make DESTDIR=$PWD/_pkg install
erjo@2647 23 }
erjo@2647 24
erjo@2647 25 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@2647 26 genpkg_rules()
erjo@2647 27 {
erjo@2647 28 mkdir -p $fs/usr
erjo@2647 29 cp -a $_pkg/usr/lib $fs/usr
erjo@2647 30 }
erjo@2647 31