wok-next diff perl-crypt-ssleay/receipt @ rev 21375

updated mpd (0.17.2 -> 0.21.22)
author Hans-G?nter Theisgen
date Thu Apr 16 13:45:16 2020 +0100 (2020-04-16)
parents 4e6503d7a19f
children
line diff
     1.1 --- a/perl-crypt-ssleay/receipt	Thu Jul 12 18:34:58 2018 +0300
     1.2 +++ b/perl-crypt-ssleay/receipt	Thu Apr 16 13:45:16 2020 +0100
     1.3 @@ -1,31 +1,25 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6 +ORIGIN="Crypt-SSLeay"
     1.7  PACKAGE="perl-crypt-ssleay"
     1.8  VERSION="0.72"
     1.9 +AUTHOR="NANIS"
    1.10  CATEGORY="perl"
    1.11  SHORT_DESC="Crypt::SSLeay - OpenSSL support for LWP"
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="GPL"
    1.14 -WEB_SITE="https://metacpan.org/release/Crypt-SSLeay"
    1.15 -REPOLOGY="perl:crypt-ssleay"
    1.16 +WEB_SITE="https://metacpan.org/release/$ORIGIN"
    1.17 +REPOLOGY="${PACKAGE/-/:}"
    1.18  
    1.19 -TARBALL="Crypt-SSLeay-$VERSION.tar.gz"
    1.20 -WGET_URL="https://cpan.metacpan.org/authors/id/N/NA/NANIS/$TARBALL"
    1.21 +TARBALL="$ORIGIN-$VERSION.tar.gz"
    1.22 +WGET_URL="https://cpan.metacpan.org/authors/id/${AUTHOR:0:1}/${AUTHOR:0:2}/$AUTHOR/$TARBALL"
    1.23  
    1.24 -BUILD_DEPENDS="perl-lwp-protocol-https perl-dev openssl-dev perl-path-class \
    1.25 +DEPENDS_std="perl openssl perl-lwp-protocol-https"
    1.26 +BUILD_DEPENDS="$DEPENDS_std perl-dev openssl-dev perl-path-class \
    1.27  perl-io-interactive-tiny"
    1.28  
    1.29  compile_rules() {
    1.30  	sed -i 's|inc::||' Makefile.PL
    1.31  
    1.32 -	perl Makefile.PL &&
    1.33 -	make &&
    1.34 -	make DESTDIR=$install install &&
    1.35 -
    1.36 -	chmod -R u+w $install
    1.37 +	cook_perl
    1.38  }
    1.39 -
    1.40 -genpkg_rules() {
    1.41 -	copy @std
    1.42 -	DEPENDS="perl openssl perl-lwp-protocol-https"
    1.43 -}