# SliTaz package receipt. PACKAGE="perl-net-ldap" VERSION="0.68" CATEGORY="development" SHORT_DESC="Perl extension Net::LDAP." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL" WEB_SITE="https://metacpan.org/pod/Net::LDAP" REPOLOGY="perl-ldap" SOURCE="perl-ldap" TARBALL="$SOURCE-$VERSION.tar.gz" WGET_URL="https://www.cpan.org/modules/by-module/Net/$TARBALL" #DEPENDS="perl perl-convert-asn1 perl-io-socket-ssl perl-uri-ldap perl-authen-sasl perl-xml-sax-writer" DEPENDS="perl perl-convert-asn1 perl-uri perl-authen-sasl" BUILD_DEPENDS="$DEPENDS" current_version() { wget -O - $WEB_SITE 2>/dev/null | \ sed '/release-name/!d;s|.*-v*||;s|<.*||;q' } # Rules to configure and make the package. compile_rules() { yes n | perl Makefile.PL && make && make install DESTDIR=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cook_copy_folders lib }