wok-current annotate perl-convert-asn1/receipt @ rev 24270
updated perl-xml-writer (0.625 -> 0.900)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jan 02 10:39:58 2022 +0100 (2022-01-02) |
parents | ca4a422cce07 |
children |
rev | line source |
---|---|
pascal@1664 | 1 # SliTaz package receipt. |
pascal@1664 | 2 |
pascal@1664 | 3 PACKAGE="perl-convert-asn1" |
Hans-G?nter@24189 | 4 VERSION="0.33" |
pascal@1664 | 5 CATEGORY="development" |
Hans-G?nter@23304 | 6 SHORT_DESC="Perl extension Convert::ASN1." |
pascal@1664 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
Hans-G?nter@24189 | 9 WEB_SITE="https://metacpan.org/pod/Convert::ASN1" |
Hans-G?nter@24189 | 10 REPOLOGY="perl:convert-asn1" |
Hans-G?nter@23304 | 11 |
Hans-G?nter@23304 | 12 SOURCE="Convert-ASN1" |
Hans-G?nter@23304 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23304 | 14 WGET_URL="https://www.cpan.org/modules/by-module/Convert/$TARBALL" |
Hans-G?nter@23304 | 15 |
pascal@1664 | 16 DEPENDS="perl" |
pascal@1664 | 17 BUILD_DEPENDS="perl" |
pascal@1664 | 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@1664 | 25 # Rules to configure and make the package. |
pascal@1664 | 26 compile_rules() |
pascal@1664 | 27 { |
pascal@1664 | 28 perl Makefile.PL && |
pascal@1664 | 29 make && |
Hans-G?nter@24189 | 30 make install DESTDIR=$DESTDIR |
pascal@1664 | 31 } |
pascal@1664 | 32 |
pascal@1664 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1664 | 34 genpkg_rules() |
pascal@1664 | 35 { |
Hans-G?nter@24189 | 36 cook_copy_folders lib |
pascal@1664 | 37 } |