wok view perl-convert-asn1/receipt @ rev 25664

Up perl-convert-asn1 (0.34)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 24 11:01:36 2024 +0000 (2 months ago)
parents b27d8c263cba
children
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-convert-asn1"
4 VERSION="0.34"
5 CATEGORY="development"
6 SHORT_DESC="Perl extension Convert::ASN1."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL"
9 WEB_SITE="https://metacpan.org/dist/Convert-ASN1"
10 REPOLOGY="perl:convert-asn1"
12 SOURCE="Convert-ASN1"
13 TARBALL="$SOURCE-$VERSION.tar.gz"
14 WGET_URL="https://www.cpan.org/modules/by-module/Convert/$TARBALL"
16 DEPENDS="perl"
17 BUILD_DEPENDS="perl"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - $WEB_SITE 2>/dev/null | \
23 sed '/release-name/!d;s|.*-v*||;s|<.*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 perl Makefile.PL &&
30 make &&
31 make install DESTDIR=$DESTDIR
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cook_copy_folders lib
38 }