wok-next diff perl-dbi/receipt @ rev 21196

updated scrollz again (2.2.3 -> 2.3)
author Hans-G?nter Theisgen
date Thu Oct 03 16:09:40 2019 +0100 (2019-10-03)
parents d5aab818505e
children
line diff
     1.1 --- a/perl-dbi/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.2 +++ b/perl-dbi/receipt	Thu Oct 03 16:09:40 2019 +0100
     1.3 @@ -1,28 +1,24 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7 +ORIGIN="DBI"
     1.8  PACKAGE="perl-dbi"
     1.9 -VERSION="1.641"
    1.10 +VERSION="1.642"
    1.11 +AUTHOR="TIMB"
    1.12  CATEGORY="perl"
    1.13  SHORT_DESC="DBI - Database independent interface for Perl"
    1.14  MAINTAINER="pascal.bellard@slitaz.org"
    1.15  LICENSE="GPL"
    1.16 -WEB_SITE="https://metacpan.org/release/DBI"
    1.17 -REPOLOGY="perl:dbi"
    1.18 +WEB_SITE="https://metacpan.org/release/$ORIGIN"
    1.19 +REPOLOGY="${PACKAGE/-/:}"
    1.20  
    1.21 -TARBALL="DBI-$VERSION.tar.gz"
    1.22 -WGET_URL="https://cpan.metacpan.org/authors/id/T/TI/TIMB/$TARBALL"
    1.23 +TARBALL="$ORIGIN-$VERSION.tar.gz"
    1.24 +WGET_URL="https://cpan.metacpan.org/authors/id/${AUTHOR:0:1}/${AUTHOR:0:2}/$AUTHOR/$TARBALL"
    1.25  
    1.26 -BUILD_DEPENDS="perl-dev"
    1.27 +DEPENDS_std="perl"
    1.28 +BUILD_DEPENDS="$DEPENDS_std perl-dev"
    1.29 +
    1.30 +COPY_std="@std @dev"
    1.31  
    1.32  compile_rules() {
    1.33 -	perl Makefile.PL &&
    1.34 -	make &&
    1.35 -	make DESTDIR=$install install &&
    1.36 -
    1.37 -	chmod -R u+w $install
    1.38 +	cook_perl
    1.39  }
    1.40 -
    1.41 -genpkg_rules() {
    1.42 -	copy @std @dev
    1.43 -	DEPENDS="perl"
    1.44 -}