wok annotate perl-net-dns/receipt @ rev 12177
Up: TazPanel (1.5) - New icon
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Mar 24 15:09:46 2012 +0100 (2012-03-24) |
parents | 4c5b551c408e |
children | 2d12ebd38be4 |
rev | line source |
---|---|
erjo@2647 | 1 # SliTaz package receipt. |
erjo@2647 | 2 |
erjo@2647 | 3 PACKAGE="perl-net-dns" |
slaxemulator@6248 | 4 VERSION="0.66" |
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 |