wok-next annotate perl-xml-parser/receipt @ rev 20714
netkit-rsh: typo
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun May 27 12:56:13 2018 +0300 (2018-05-27) |
parents | bc6672455954 |
children | 4e6503d7a19f |
rev | line source |
---|---|
al@19745 | 1 # SliTaz package receipt v2. |
pankso@18 | 2 |
pankso@18 | 3 PACKAGE="perl-xml-parser" |
al@19572 | 4 VERSION="2.44" |
al@19709 | 5 CATEGORY="perl" |
al@19709 | 6 SHORT_DESC="XML::Parser - A Perl module for parsing XML documents" |
pankso@18 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
al@19709 | 9 WEB_SITE="https://metacpan.org/release/XML-Parser" |
al@20436 | 10 LFS="http://www.linuxfromscratch.org/lfs/view/stable/chapter06/xml-parser.html" |
al@19572 | 11 |
al@19709 | 12 TARBALL="XML-Parser-$VERSION.tar.gz" |
al@19709 | 13 WGET_URL="https://cpan.metacpan.org/authors/id/T/TO/TODDR/$TARBALL" |
al@19572 | 14 |
al@20436 | 15 BUILD_DEPENDS="perl-libwww-perl expat perl-dev expat-dev" |
pankso@18 | 16 |
al@20436 | 17 compile_rules() { |
pascal@2457 | 18 perl Makefile.PL && |
al@19709 | 19 make && make DESTDIR=$install install && |
al@19709 | 20 |
al@19709 | 21 chmod -R u+w $install |
pankso@18 | 22 } |
pankso@18 | 23 |
al@20436 | 24 genpkg_rules() { |
al@19709 | 25 copy @std |
al@20436 | 26 DEPENDS="perl-libwww-perl expat" |
al@20436 | 27 TAGS="LFS" |
pankso@18 | 28 } |