wok annotate perl-xml-parser/receipt @ rev 18200
Up tazinst (61)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 12 22:00:23 2015 +0200 (2015-07-12) |
parents | 3ff5b63831c2 |
children | ebd13d88e221 |
rev | line source |
---|---|
pankso@18 | 1 # SliTaz package receipt. |
pankso@18 | 2 |
pankso@18 | 3 PACKAGE="perl-xml-parser" |
samuel_trassare@14100 | 4 VERSION="2.41" |
pankso@204 | 5 CATEGORY="development" |
pankso@116 | 6 SHORT_DESC="XML::Parser module is a Perl extension interface to XML expat." |
pankso@18 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
pascal@2457 | 9 DEPENDS="perl expat" |
pankso@116 | 10 BUILD_DEPENDS="perl expat-dev" |
pankso@18 | 11 SOURCE="XML-Parser" |
pankso@18 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
slaxemulator@7242 | 13 WEB_SITE="http://search.cpan.org/dist/XML-Parser/" |
samuel_trassare@14100 | 14 WGET_URL="http://search.cpan.org/CPAN/authors/id/T/TO/TODDR/$TARBALL" |
pankso@18 | 15 |
pankso@18 | 16 # Rules to configure and make the package. |
pankso@18 | 17 compile_rules() |
pankso@18 | 18 { |
pankso@18 | 19 cd $src |
pascal@2457 | 20 perl Makefile.PL && |
pascal@2457 | 21 make && |
pascal@14702 | 22 make DESTDIR=$DESTDIR install |
pankso@18 | 23 } |
pankso@18 | 24 |
pankso@18 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@18 | 26 genpkg_rules() |
pankso@18 | 27 { |
pankso@18 | 28 mkdir -p $fs/usr |
pascal@14702 | 29 cp -a $install/usr/lib $fs/usr |
pankso@18 | 30 } |
pankso@18 | 31 |