wok-current annotate perl-net-dns/receipt @ rev 25601
use gcc49-lib-base for openldap-dev
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Sep 01 12:04:33 2023 +0000 (16 months ago) |
parents | 15650f5d595b |
children |
rev | line source |
---|---|
erjo@2647 | 1 # SliTaz package receipt. |
erjo@2647 | 2 |
erjo@2647 | 3 PACKAGE="perl-net-dns" |
Hans-G?nter@24241 | 4 VERSION="1.33" |
erjo@2647 | 5 CATEGORY="development" |
Hans-G?nter@23373 | 6 SHORT_DESC="Perl extension Net::DNS." |
erjo@2647 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
Hans-G?nter@24241 | 9 WEB_SITE="https://metacpan.org/pod/Net::DNS" |
Hans-G?nter@24241 | 10 REPOLOGY="perl:net-dns" |
Hans-G?nter@23373 | 11 |
Hans-G?nter@23373 | 12 SOURCE="Net-DNS" |
Hans-G?nter@23373 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@24241 | 14 WGET_URL="https://www.cpan.org/modules/by-module/Net/$TARBALL" |
Hans-G?nter@23373 | 15 |
erjo@2664 | 16 DEPENDS="perl perl-io-socket-inet6" |
erjo@2656 | 17 BUILD_DEPENDS="perl perl-io-socket-inet6" |
erjo@2657 | 18 |
pascal@24102 | 19 current_version() |
pascal@24102 | 20 { |
pascal@24102 | 21 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24102 | 22 sed '/release-name/!d;s|.*-v*||;s|<.*||;q' |
pascal@24102 | 23 } |
pascal@24102 | 24 |
erjo@2647 | 25 # Rules to configure and make the package. |
erjo@2647 | 26 compile_rules() |
erjo@2647 | 27 { |
Hans-G?nter@23373 | 28 yes n | perl Makefile.PL && |
Hans-G?nter@23373 | 29 make && |
Hans-G?nter@24241 | 30 make install DESTDIR=$DESTDIR |
erjo@2647 | 31 } |
erjo@2647 | 32 |
erjo@2647 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@2647 | 34 genpkg_rules() |
erjo@2647 | 35 { |
Hans-G?nter@24241 | 36 cook_copy_folders lib |
erjo@2647 | 37 } |