wok-6.x annotate perl-mime-base64/receipt @ rev 25224
updated python-pydot (1.4.1 -> 1.4.2)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 16:29:49 2022 +0100 (2022-07-13) |
parents | 15650f5d595b |
children |
rev | line source |
---|---|
pascal@1671 | 1 # SliTaz package receipt. |
pascal@1671 | 2 |
pascal@1671 | 3 PACKAGE="perl-mime-base64" |
Hans-G?nter@24238 | 4 VERSION="3.16" |
pascal@1671 | 5 CATEGORY="development" |
Hans-G?nter@23368 | 6 SHORT_DESC="Perl extension MIME::Base64." |
pascal@1671 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
Hans-G?nter@24238 | 9 WEB_SITE="https://metacpan.org/pod/MIME::Base64" |
Hans-G?nter@24238 | 10 REPOLOGY="perl:mime-base64" |
Hans-G?nter@23368 | 11 |
Hans-G?nter@23368 | 12 SOURCE="MIME-Base64" |
Hans-G?nter@23368 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@24238 | 14 WGET_URL="https://www.cpan.org/modules/by-module/MIME/$TARBALL" |
Hans-G?nter@23368 | 15 |
pascal@1671 | 16 DEPENDS="perl" |
pascal@1671 | 17 BUILD_DEPENDS="perl" |
pascal@1671 | 18 |
pascal@24102 | 19 current_version() |
pascal@24102 | 20 { |
pascal@24102 | 21 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24102 | 22 sed '/release-name/!d;s|.*-v*||;s|<.*||;q' |
pascal@24102 | 23 } |
pascal@24102 | 24 |
pascal@1671 | 25 # Rules to configure and make the package. |
pascal@1671 | 26 compile_rules() |
pascal@1671 | 27 { |
pascal@1671 | 28 perl Makefile.PL && |
pascal@1671 | 29 make && |
Hans-G?nter@24238 | 30 make install DESTDIR=$DESTDIR |
pascal@1671 | 31 } |
pascal@1671 | 32 |
pascal@1671 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1671 | 34 genpkg_rules() |
pascal@1671 | 35 { |
Hans-G?nter@24238 | 36 cook_copy_folders lib |
pascal@1671 | 37 } |