wok-current view perl-exporter-tiny/receipt @ rev 25519
created recipes for libuv and libuv-dev 1.44.1
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 24 15:35:59 2023 +0100 (18 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 }