wok-current annotate perl-log-log4perl/receipt @ rev 20417
Add perl-html-template & perl-log-log4perl
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Aug 04 13:11:27 2018 +0200 (2018-08-04) |
parents | |
children | c86e41198e76 |
rev | line source |
---|---|
pascal@20417 | 1 # SliTaz package receipt. |
pascal@20417 | 2 |
pascal@20417 | 3 PACKAGE="perl-log-log4perl" |
pascal@20417 | 4 VERSION="1.49" |
pascal@20417 | 5 CATEGORY="development" |
pascal@20417 | 6 SHORT_DESC=" Log::Log4perl module is a Perl extension." |
pascal@20417 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@20417 | 8 LICENSE="Perl" |
pascal@20417 | 9 DEPENDS="perl" |
pascal@20417 | 10 BUILD_DEPENDS="perl" |
pascal@20417 | 11 SOURCE="Log-Log4perl" |
pascal@20417 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@20417 | 13 WEB_SITE="https://metacpan.org/pod/Log::Log4perl" |
pascal@20417 | 14 WGET_URL="https://cpan.metacpan.org/authors/id/M/MS/MSCHILLI/$TARBALL" |
pascal@20417 | 15 |
pascal@20417 | 16 # Rules to configure and make the package. |
pascal@20417 | 17 compile_rules() |
pascal@20417 | 18 { |
pascal@20417 | 19 perl Makefile.PL && |
pascal@20417 | 20 make && |
pascal@20417 | 21 make DESTDIR=$DESTDIR install |
pascal@20417 | 22 } |
pascal@20417 | 23 |
pascal@20417 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20417 | 25 genpkg_rules() |
pascal@20417 | 26 { |
pascal@20417 | 27 cp -a $install/usr $fs/ |
pascal@20417 | 28 } |