wok annotate perl-xml-parser/receipt @ rev 19873
linld/tazboot: fix 286 case
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 31 09:17:01 2017 +0200 (2017-03-31) |
parents | 2d12ebd38be4 |
children | 6e8b1bcb30e2 |
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" |
pascal@19099 | 15 HOST_ARCH="i486 arm" |
pankso@18 | 16 |
pankso@18 | 17 # Rules to configure and make the package. |
pankso@18 | 18 compile_rules() |
pankso@18 | 19 { |
pankso@18 | 20 cd $src |
pascal@2457 | 21 perl Makefile.PL && |
pascal@2457 | 22 make && |
pascal@14702 | 23 make DESTDIR=$DESTDIR install |
pankso@18 | 24 } |
pankso@18 | 25 |
pankso@18 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@18 | 27 genpkg_rules() |
pankso@18 | 28 { |
pankso@18 | 29 mkdir -p $fs/usr |
pascal@14702 | 30 cp -a $install/usr/lib $fs/usr |
pankso@18 | 31 } |
pankso@18 | 32 |