wok view perl-net-ldap/receipt @ rev 24230

updated perl-json (4.02 -> 4.04)
author Hans-G?nter Theisgen
date Sun Jan 02 06:47:59 2022 +0100 (2022-01-02)
parents b32616ccd320
children 8b05a456a684
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-net-ldap"
4 VERSION="0.66"
5 CATEGORY="development"
6 SHORT_DESC="Perl extension Net::LDAP."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL"
9 WEB_SITE="https://metacpan.org/release/perl-ldap"
11 SOURCE="perl-ldap"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="https://www.cpan.org/modules/by-module/Net/$TARBALL"
15 #DEPENDS="perl perl-convert-asn1 perl-io-socket-ssl perl-uri-ldap perl-authen-sasl perl-xml-sax-writer"
16 DEPENDS="perl perl-authen-sasl perl-convert-asn1 perl-uri"
17 BUILD_DEPENDS="$DEPENDS"
19 current_version()
20 {
21 wget -O - $WEB_SITE 2>/dev/null | \
22 sed '/release-name/!d;s|.*-v*||;s|<.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 yes n | perl Makefile.PL &&
29 make &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr
37 cp -a $install/usr/lib $fs/usr
38 }