wok-next view perl-net-dns/receipt @ rev 5582

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