wok annotate perl-net-ldap/receipt @ rev 24850
updated libwww-perl (6.43 -> 6.61)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Mar 26 10:37:30 2022 +0100 (2022-03-26) |
parents | ca4a422cce07 |
children | b27d8c263cba |
rev | line source |
---|---|
pascal@1674 | 1 # SliTaz package receipt. |
pascal@1674 | 2 |
pascal@1674 | 3 PACKAGE="perl-net-ldap" |
Hans-G?nter@24243 | 4 VERSION="0.68" |
pascal@1674 | 5 CATEGORY="development" |
Hans-G?nter@23376 | 6 SHORT_DESC="Perl extension Net::LDAP." |
pascal@1674 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
Hans-G?nter@24243 | 9 WEB_SITE="https://metacpan.org/pod/Net::LDAP" |
Hans-G?nter@24243 | 10 REPOLOGY="perl-ldap" |
Hans-G?nter@23376 | 11 |
pascal@1674 | 12 SOURCE="perl-ldap" |
pascal@1674 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23376 | 14 WGET_URL="https://www.cpan.org/modules/by-module/Net/$TARBALL" |
Hans-G?nter@23376 | 15 |
Hans-G?nter@23376 | 16 #DEPENDS="perl perl-convert-asn1 perl-io-socket-ssl perl-uri-ldap perl-authen-sasl perl-xml-sax-writer" |
Hans-G?nter@24243 | 17 DEPENDS="perl perl-convert-asn1 perl-uri perl-authen-sasl" |
Hans-G?nter@23376 | 18 BUILD_DEPENDS="$DEPENDS" |
pascal@1674 | 19 |
pascal@24103 | 20 current_version() |
pascal@24103 | 21 { |
pascal@24103 | 22 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24103 | 23 sed '/release-name/!d;s|.*-v*||;s|<.*||;q' |
pascal@24103 | 24 } |
pascal@24103 | 25 |
pascal@1674 | 26 # Rules to configure and make the package. |
pascal@1674 | 27 compile_rules() |
pascal@1674 | 28 { |
pascal@1674 | 29 yes n | perl Makefile.PL && |
pascal@1674 | 30 make && |
Hans-G?nter@24243 | 31 make install DESTDIR=$DESTDIR |
pascal@1674 | 32 } |
pascal@1674 | 33 |
pascal@1674 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1674 | 35 genpkg_rules() |
pascal@1674 | 36 { |
Hans-G?nter@24243 | 37 cook_copy_folders lib |
pascal@1674 | 38 } |