wok annotate perl-xml-writer/receipt @ rev 24139

Add redupe
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Nov 09 17:05:26 2021 +0000 (2021-11-09)
parents 398d241fec75
children 28a19e1dd20e
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
pascal@24102 18 current_version()
pascal@24102 19 {
pascal@24102 20 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24102 21 sed '/release-name/!d;s|.*-||;s|<.*||;q'
pascal@24102 22 }
pascal@24102 23
slaxemulator@9305 24 # Rules to configure and make the package.
slaxemulator@9305 25 compile_rules()
slaxemulator@9305 26 {
slaxemulator@9305 27 perl Makefile.PL &&
slaxemulator@9305 28 make &&
pascal@14702 29 make DESTDIR=$DESTDIR install
slaxemulator@9305 30 }
slaxemulator@9305 31
slaxemulator@9305 32 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@9305 33 genpkg_rules()
slaxemulator@9305 34 {
slaxemulator@9305 35 mkdir -p $fs/usr
Hans-G?nter@23419 36 cp -a $install/usr/lib $fs/usr
slaxemulator@9305 37 }