wok-6.x view perl-exporter-tiny/receipt @ rev 25542

linux-cloop: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 11 09:15:29 2023 +0000 (20 months ago)
parents 4998a2f5cae5
children
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-exporter-tiny"
4 VERSION="1.002002"
5 CATEGORY="development"
6 SHORT_DESC="Perl extension Exporter::Tiny."
7 MAINTAINER="nneul@neulinger.org"
8 LICENSE="GPL"
9 WEB_SITE="https://metacpan.org/pod/Exporter::Tiny"
10 REPOLOGY="perl:exporter-tiny"
12 SOURCE="Exporter-Tiny"
13 TARBALL="$SOURCE-$VERSION.tar.gz"
14 WGET_URL="https://cpan.metacpan.org/authors/id/T/TO/TOBYINK/$TARBALL"
16 DEPENDS="perl"
17 BUILD_DEPENDS="$DEPENDS"
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 }