wok annotate perl-xml-parser/receipt @ rev 22872
updated gource (0.49 -> 0.51)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 21 17:11:22 2020 +0100 (2020-02-21) |
parents | 6e8b1bcb30e2 |
children | 8ea372e859d2 |
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" |
pascal@20671 | 13 WEB_SITE="https://metacpan.org/release/XML-Parser/" |
pascal@20682 | 14 WGET_URL="https://metacpan.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 |