wok annotate perl-soap-lite/receipt @ rev 25031

Add fatcat
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 20 09:25:51 2022 +0000 (2022-05-20)
parents ca4a422cce07
children b27d8c263cba
rev   line source
pascal@2068 1 # SliTaz package receipt.
pascal@2068 2
pascal@2068 3 PACKAGE="perl-soap-lite"
Hans-G?nter@24252 4 VERSION="1.27"
pascal@2068 5 CATEGORY="development"
pascal@2068 6 SHORT_DESC="SOAP::Lite module is a Perl extension."
pascal@2068 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@14702 8 LICENSE="GPL"
Hans-G?nter@24252 9 WEB_SITE="https://metacpan.org/pod/SOAP::Lite"
Hans-G?nter@24252 10 REPOLOGY="perl:soap-lite"
Hans-G?nter@24252 11
Hans-G?nter@24252 12 SOURCE="SOAP-Lite"
Hans-G?nter@24252 13 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@24252 14 WGET_URL="https://www.cpan.org/modules/by-module/SOAP/$TARBALL"
Hans-G?nter@24252 15
pascal@2068 16 DEPENDS="perl"
pascal@2068 17 BUILD_DEPENDS="perl"
pascal@2068 18
pascal@24103 19 current_version()
pascal@24103 20 {
pascal@24103 21 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24103 22 sed '/release-name/!d;s|.*-v*||;s|<.*||;q'
pascal@24103 23 }
pascal@24103 24
pascal@2068 25 # Rules to configure and make the package.
pascal@2068 26 compile_rules()
pascal@2068 27 {
pascal@2068 28 yes '' | perl Makefile.PL &&
pascal@2068 29 make &&
Hans-G?nter@24252 30 make install DESTDIR=$DESTDIR
pascal@2068 31 }
pascal@2068 32
pascal@2068 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@2068 34 genpkg_rules()
pascal@2068 35 {
Hans-G?nter@24252 36 cook_copy_folders lib
pascal@2068 37 }