wok-6.x annotate perl-xml-parser/receipt @ rev 23848
inkscape: update build_depends
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Sun Jun 14 23:18:03 2020 -0400 (2020-06-14) |
parents | 20661c276bcf |
children | 15650f5d595b |
rev | line source |
---|---|
pankso@18 | 1 # SliTaz package receipt. |
pankso@18 | 2 |
pankso@18 | 3 PACKAGE="perl-xml-parser" |
Hans-G?nter@23414 | 4 VERSION="2.46" |
pankso@204 | 5 CATEGORY="development" |
Hans-G?nter@23414 | 6 SHORT_DESC="Perl extension XML::Parser is an interface to XML expat." |
pankso@18 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
Hans-G?nter@23414 | 9 WEB_SITE="https://metacpan.org/release/XML-Parser/" |
Hans-G?nter@23414 | 10 |
pankso@18 | 11 SOURCE="XML-Parser" |
pankso@18 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23414 | 13 WGET_URL="https://www.cpan.org/modules/by-module/XML/$TARBALL" |
Hans-G?nter@23414 | 14 |
Hans-G?nter@23414 | 15 DEPENDS="expat perl" |
Hans-G?nter@23414 | 16 BUILD_DEPENDS="expat-dev perl" |
Hans-G?nter@23414 | 17 |
pascal@19099 | 18 HOST_ARCH="i486 arm" |
pankso@18 | 19 |
pankso@18 | 20 # Rules to configure and make the package. |
pankso@18 | 21 compile_rules() |
pankso@18 | 22 { |
pascal@2457 | 23 perl Makefile.PL && |
pascal@2457 | 24 make && |
pascal@14702 | 25 make DESTDIR=$DESTDIR install |
pankso@18 | 26 } |
pankso@18 | 27 |
pankso@18 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@18 | 29 genpkg_rules() |
pankso@18 | 30 { |
pankso@18 | 31 mkdir -p $fs/usr |
Hans-G?nter@23414 | 32 cp -a $install/usr/lib $fs/usr |
pankso@18 | 33 } |