wok annotate perl-rfc-rfc822-address/receipt @ rev 25443
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 03 09:28:15 2022 +0000 (2022-09-03) |
parents | ca4a422cce07 |
children |
rev | line source |
---|---|
pascal@5970 | 1 # SliTaz package receipt. |
pascal@5970 | 2 |
pascal@5970 | 3 PACKAGE="perl-rfc-rfc822-address" |
pascal@5970 | 4 VERSION="2009110702" |
pascal@5970 | 5 CATEGORY="development" |
pascal@5970 | 6 SHORT_DESC="RFC::RFC822::Address module is a Perl extension." |
pascal@5970 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
pascal@5970 | 9 DEPENDS="perl" |
pascal@5970 | 10 BUILD_DEPENDS="perl" |
pascal@5970 | 11 SOURCE="RFC-RFC822-Address" |
pascal@5970 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@24103 | 13 WEB_SITE="https://metacpan.org/dist/RFC-RFC822-Address" |
pascal@24975 | 14 WGET_URL="https://cpan.metacpan.org/authors/id/A/AB/ABIGAIL/$TARBALL" |
pascal@5970 | 15 |
pascal@24103 | 16 current_version() |
pascal@24103 | 17 { |
pascal@24103 | 18 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24103 | 19 sed '/release-name/!d;s|.*-v*||;s|<.*||;q' |
pascal@24103 | 20 } |
pascal@24103 | 21 |
pascal@5970 | 22 # Rules to configure and make the package. |
pascal@5970 | 23 compile_rules() |
pascal@5970 | 24 { |
pascal@5970 | 25 cd $src |
pascal@5970 | 26 perl Makefile.PL && |
pascal@5970 | 27 make && |
pascal@14702 | 28 make DESTDIR=$DESTDIR install |
pascal@5970 | 29 } |
pascal@5970 | 30 |
pascal@5970 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@5970 | 32 genpkg_rules() |
pascal@5970 | 33 { |
pascal@5970 | 34 mkdir -p $fs/usr |
pascal@14702 | 35 cp -a $install/usr/lib $fs/usr |
pascal@5970 | 36 } |
pascal@5970 | 37 |