wok annotate perl-net-dns/receipt @ rev 24474
updated desktop-file-utils and desktop-file-utils-extra (0.24 -> 0.26)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Feb 17 17:07:56 2022 +0100 (2022-02-17) |
parents | 15650f5d595b |
children | b27d8c263cba |
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 } |