wok-next annotate perl-net-dns/receipt @ rev 2656
Add: add perl-socket6 perl-io-socket-inet6
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sat Apr 18 22:24:41 2009 +0200 (2009-04-18) |
parents | d0bd20684da8 |
children | 0e1045c36b5f |
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@2647 | 8 DEPENDS="perl" |
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@2647 | 15 # Rules to configure and make the package. |
erjo@2647 | 16 compile_rules() |
erjo@2647 | 17 { |
erjo@2647 | 18 cd $src |
erjo@2647 | 19 perl Makefile.PL |
erjo@2647 | 20 make |
erjo@2647 | 21 make DESTDIR=$PWD/_pkg install |
erjo@2647 | 22 } |
erjo@2647 | 23 |
erjo@2647 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@2647 | 25 genpkg_rules() |
erjo@2647 | 26 { |
erjo@2647 | 27 mkdir -p $fs/usr |
erjo@2647 | 28 cp -a $_pkg/usr/lib $fs/usr |
erjo@2647 | 29 } |
erjo@2647 | 30 |