wok-6.x view perl-net-ldap/receipt @ rev 24669
updated inxi (3.0.37 -> 3.3.13)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 11 16:49:52 2022 +0100 (2022-03-11) |
parents | ca4a422cce07 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-net-ldap"
4 VERSION="0.68"
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/pod/Net::LDAP"
10 REPOLOGY="perl-ldap"
12 SOURCE="perl-ldap"
13 TARBALL="$SOURCE-$VERSION.tar.gz"
14 WGET_URL="https://www.cpan.org/modules/by-module/Net/$TARBALL"
16 #DEPENDS="perl perl-convert-asn1 perl-io-socket-ssl perl-uri-ldap perl-authen-sasl perl-xml-sax-writer"
17 DEPENDS="perl perl-convert-asn1 perl-uri perl-authen-sasl"
18 BUILD_DEPENDS="$DEPENDS"
20 current_version()
21 {
22 wget -O - $WEB_SITE 2>/dev/null | \
23 sed '/release-name/!d;s|.*-v*||;s|<.*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 yes n | perl Makefile.PL &&
30 make &&
31 make install DESTDIR=$DESTDIR
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cook_copy_folders lib
38 }