wok annotate perl-uri/receipt @ rev 24920

updated mp (5.2.10 -> 5.58)
author Hans-G?nter Theisgen
date Sun Apr 10 07:48:27 2022 +0100 (2022-04-10)
parents 15650f5d595b
children
rev   line source
pascal@4838 1 # SliTaz package receipt.
pascal@4838 2
pascal@4838 3 PACKAGE="perl-uri"
Hans-G?nter@24268 4 VERSION="5.10"
pascal@4838 5 CATEGORY="development"
Hans-G?nter@23412 6 SHORT_DESC="Perl extensions URI::Escape, URI::File, URI::ldap and URI::URL."
pascal@4838 7 MAINTAINER="erjo@slitaz.org"
pascal@14702 8 LICENSE="GPL"
Hans-G?nter@24268 9 WEB_SITE="https://metacpan.org/pod/URI"
Hans-G?nter@24268 10 REPOLOGY="perl:uri"
Hans-G?nter@23412 11
Hans-G?nter@23412 12 SOURCE="URI"
Hans-G?nter@23412 13 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@23412 14 WGET_URL="https://www.cpan.org/modules/by-module/URI/$TARBALL"
Hans-G?nter@23412 15
Hans-G?nter@23412 16 PROVIDE="perl-uri-escape perl-uri-file perl-uri-ldap perl-uri-url"
pascal@4838 17 DEPENDS="perl"
pascal@4838 18 BUILD_DEPENDS="perl"
pascal@4838 19
pascal@24102 20 current_version()
pascal@24102 21 {
pascal@24102 22 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24102 23 sed '/release-name/!d;s|.*-||;s|<.*||;q'
pascal@24102 24 }
pascal@24102 25
pascal@4838 26 # Rules to configure and make the package.
pascal@4838 27 compile_rules()
pascal@4838 28 {
pascal@4838 29 perl Makefile.PL &&
pascal@4838 30 make &&
slaxemulator@10203 31 make install DESTDIR=$DESTDIR
pascal@4838 32 }
pascal@4838 33
pascal@4838 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@4838 35 genpkg_rules()
pascal@4838 36 {
Hans-G?nter@24268 37 cook_copy_folders lib
pascal@4838 38 }