wok-current annotate perl-net-dns/receipt @ rev 15641
Down rack (1.3.5) again
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Dec 09 20:48:15 2013 +0000 (2013-12-09) |
parents | de800ad8c510 |
children | 20661c276bcf |
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" |
pascal@14702 | 8 LICENSE="GPL" |
erjo@2664 | 9 DEPENDS="perl perl-io-socket-inet6" |
erjo@2656 | 10 BUILD_DEPENDS="perl perl-io-socket-inet6" |
erjo@2647 | 11 SOURCE="Net-DNS" |
erjo@2647 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
erjo@2647 | 13 WEB_SITE="http://cpan.org/" |
erjo@2647 | 14 WGET_URL="http://search.cpan.org/CPAN/authors/id/O/OL/OLAF/$TARBALL" |
erjo@2647 | 15 |
erjo@2657 | 16 |
erjo@2647 | 17 # Rules to configure and make the package. |
erjo@2647 | 18 compile_rules() |
erjo@2647 | 19 { |
erjo@2647 | 20 cd $src |
pascal@2666 | 21 yes n | perl Makefile.PL |
erjo@2647 | 22 make |
pascal@14702 | 23 make DESTDIR=$DESTDIR install |
erjo@2647 | 24 } |
erjo@2647 | 25 |
erjo@2647 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@2647 | 27 genpkg_rules() |
erjo@2647 | 28 { |
erjo@2647 | 29 mkdir -p $fs/usr |
pascal@14702 | 30 cp -a $install/usr/lib $fs/usr |
erjo@2647 | 31 } |
erjo@2647 | 32 |