wok-next diff perl-perl-ldap/receipt @ rev 21427

updated qt4 (4.8.6 -> 4.8.7)
author Hans-G?nter Theisgen
date Tue May 05 08:11:24 2020 +0100 (2020-05-05)
parents d5aab818505e
children
line diff
     1.1 --- a/perl-perl-ldap/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.2 +++ b/perl-perl-ldap/receipt	Tue May 05 08:11:24 2020 +0100
     1.3 @@ -1,36 +1,26 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6 +ORIGIN="perl-ldap"
     1.7  PACKAGE="perl-perl-ldap"
     1.8  VERSION="0.65"
     1.9 +AUTHOR="MARSCHAP"
    1.10  CATEGORY="perl"
    1.11  SHORT_DESC="LDAP client library"
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="GPL"
    1.14 -WEB_SITE="https://metacpan.org/release/perl-ldap"
    1.15 -REPOLOGY="perl:perl-ldap"
    1.16 +WEB_SITE="https://metacpan.org/release/$ORIGIN"
    1.17 +HOST_ARCH="any"
    1.18 +REPOLOGY="${PACKAGE/-/:}"
    1.19  
    1.20 -TARBALL="perl-ldap-$VERSION.tar.gz"
    1.21 -WGET_URL="https://cpan.metacpan.org/authors/id/M/MA/MARSCHAP/$TARBALL"
    1.22 +TARBALL="$ORIGIN-$VERSION.tar.gz"
    1.23 +WGET_URL="https://cpan.metacpan.org/authors/id/${AUTHOR:0:1}/${AUTHOR:0:2}/$AUTHOR/$TARBALL"
    1.24  
    1.25 -BUILD_DEPENDS="perl-convert-asn1 perl-text-soundex perl-io-socket-inet6 \
    1.26 +DEPENDS_std="perl-convert-asn1 perl-text-soundex perl-io-socket-inet6 \
    1.27  perl-io-socket-ssl perl-authen-sasl perl-digest-hmac perl-gssapi perl-uri \
    1.28  perl-xml-sax-writer perl-xml-sax-base perl-libwww-perl perl-lwp-mediatypes \
    1.29 -perl-http-negotiate perl-http-message perl-json perl-module-install"
    1.30 +perl-http-negotiate perl-http-message perl-json"
    1.31 +BUILD_DEPENDS="$DEPENDS_std perl-module-install"
    1.32  
    1.33  compile_rules() {
    1.34 -	# avoid interactive questions
    1.35 -	PERL_MM_USE_DEFAULT=1 \
    1.36 -	perl Makefile.PL &&
    1.37 -	make &&
    1.38 -	make DESTDIR=$install install &&
    1.39 -
    1.40 -	chmod -R u+w $install
    1.41 +	cook_perl
    1.42  }
    1.43 -
    1.44 -genpkg_rules() {
    1.45 -	copy @std
    1.46 -	DEPENDS="perl-convert-asn1 perl-text-soundex perl-io-socket-inet6 \
    1.47 -	perl-io-socket-ssl perl-authen-sasl perl-digest-hmac perl-gssapi perl-uri \
    1.48 -	perl-xml-sax-writer perl-xml-sax-base perl-libwww-perl perl-lwp-mediatypes \
    1.49 -	perl-http-negotiate perl-http-message perl-json"
    1.50 -}