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

Add gnubg
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 22 21:29:18 2016 +0100 (2016-02-22)
parents de800ad8c510
children 1a86cb99cbbf
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-net-dns"
4 VERSION="0.66"
5 CATEGORY="development"
6 SHORT_DESC="Net::DNS module is a Perl extension."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL"
9 DEPENDS="perl perl-io-socket-inet6"
10 BUILD_DEPENDS="perl perl-io-socket-inet6"
11 SOURCE="Net-DNS"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WEB_SITE="http://cpan.org/"
14 WGET_URL="http://search.cpan.org/CPAN/authors/id/O/OL/OLAF/$TARBALL"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 yes n | perl Makefile.PL
22 make
23 make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $install/usr/lib $fs/usr
31 }