wok annotate perl-xml-writer/receipt @ rev 24005
cdrkit: force catalog sort weight
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jan 19 09:09:36 2021 +0000 (2021-01-19) |
parents | 20661c276bcf |
children | 15650f5d595b |
rev | line source |
---|---|
slaxemulator@9305 | 1 # SliTaz package receipt. |
slaxemulator@9305 | 2 |
slaxemulator@9305 | 3 PACKAGE="perl-xml-writer" |
Hans-G?nter@23419 | 4 VERSION="0.625" |
slaxemulator@9305 | 5 CATEGORY="development" |
Hans-G?nter@23419 | 6 SHORT_DESC="Perl extension XML::Writer." |
slaxemulator@9305 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@14702 | 8 LICENSE="GPL" |
Hans-G?nter@23419 | 9 WEB_SITE="https://metacpan.org/release/XML-Writer/" |
Hans-G?nter@23419 | 10 |
Hans-G?nter@23419 | 11 SOURCE="XML-Writer" |
Hans-G?nter@23419 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23419 | 13 WGET_URL="https://www.cpan.org/modules/by-module/XML/$TARBALL" |
Hans-G?nter@23419 | 14 |
slaxemulator@9305 | 15 DEPENDS="perl" |
slaxemulator@9305 | 16 BUILD_DEPENDS="perl" |
slaxemulator@9305 | 17 |
slaxemulator@9305 | 18 # Rules to configure and make the package. |
slaxemulator@9305 | 19 compile_rules() |
slaxemulator@9305 | 20 { |
slaxemulator@9305 | 21 perl Makefile.PL && |
slaxemulator@9305 | 22 make && |
pascal@14702 | 23 make DESTDIR=$DESTDIR install |
slaxemulator@9305 | 24 } |
slaxemulator@9305 | 25 |
slaxemulator@9305 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@9305 | 27 genpkg_rules() |
slaxemulator@9305 | 28 { |
slaxemulator@9305 | 29 mkdir -p $fs/usr |
Hans-G?nter@23419 | 30 cp -a $install/usr/lib $fs/usr |
slaxemulator@9305 | 31 } |