wok-6.x annotate perl-net-dns/receipt @ rev 11060
pcmciautils: Fixed WGET_URL.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Oct 17 00:27:48 2011 +0000 (2011-10-17) |
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 |