wok-next annotate perl-xml-parser/receipt @ rev 20348

ploticus (2.42)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 18 17:19:51 2017 +0100 (2017-11-18)
parents 5602003ffd84
children 90a5eb560fd6
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@19572 10 HOST_ARCH="i486 arm"
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@19770 15 DEPENDS="perl-libwww-perl expat"
al@19770 16 BUILD_DEPENDS="$DEPENDS perl-dev expat-dev"
pankso@18 17
pankso@18 18 # Rules to configure and make the package.
pankso@18 19 compile_rules()
pankso@18 20 {
pascal@2457 21 perl Makefile.PL &&
al@19709 22 make && make DESTDIR=$install install &&
al@19709 23
al@19709 24 chmod -R u+w $install
pankso@18 25 }
pankso@18 26
pankso@18 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@18 28 genpkg_rules()
pankso@18 29 {
al@19709 30 copy @std
pankso@18 31 }