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

Up lynis (3.1.1), ncurses-examples (20211021)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 16 10:43:04 2024 +0000 (2 weeks ago)
parents b27d8c263cba
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/dist/perl-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 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - $WEB_SITE 2>/dev/null | \
24 sed '/release-name/!d;s|.*-v*||;s|<.*||;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 yes n | perl Makefile.PL &&
31 make &&
32 make install DESTDIR=$DESTDIR
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cook_copy_folders lib
39 }