wok view perl-exporter-tiny/receipt @ rev 25794

created recipe for exo-lang
author Hans-G?nter Theisgen
date Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago)
parents d88ce536755a
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/dist/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 }