wok-next annotate perl-xml-entities/receipt @ rev 20762
Add leanify
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Jun 05 17:27:09 2018 +0300 (2018-06-05) |
parents | 2d12ebd38be4 |
children | 4e6503d7a19f |
rev | line source |
---|---|
pascal@2067 | 1 # SliTaz package receipt. |
pascal@2067 | 2 |
pascal@2067 | 3 PACKAGE="perl-xml-entities" |
al@19709 | 4 VERSION="1.0002" |
al@19709 | 5 CATEGORY="perl" |
al@19709 | 6 SHORT_DESC="XML::Entities - Decode strings with XML entities" |
pascal@2067 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
al@19709 | 9 WEB_SITE="https://metacpan.org/release/XML-Entities" |
al@19709 | 10 |
al@19709 | 11 TARBALL="XML-Entities-$VERSION.tar.gz" |
al@19709 | 12 WGET_URL="https://cpan.metacpan.org/authors/id/S/SI/SIXTEASE/$TARBALL" |
al@19709 | 13 |
pascal@2067 | 14 DEPENDS="perl" |
al@19709 | 15 BUILD_DEPENDS="perl" |
pascal@2067 | 16 |
pascal@2067 | 17 # Rules to configure and make the package. |
pascal@2067 | 18 compile_rules() |
pascal@2067 | 19 { |
pascal@2067 | 20 perl Makefile.PL && |
al@19709 | 21 make && make DESTDIR=$install install && |
al@19709 | 22 |
al@19709 | 23 chmod -R u+w $install |
pascal@2067 | 24 } |
pascal@2067 | 25 |
pascal@2067 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2067 | 27 genpkg_rules() |
pascal@2067 | 28 { |
al@19709 | 29 copy @std |
pascal@2067 | 30 } |