wok view perl-event/receipt @ rev 25039

Up aspell-pl (6.0_20210731-0), icmptx (20190501)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 26 14:53:15 2022 +0000 (2022-05-26)
parents 15650f5d595b
children
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-event"
4 VERSION="1.28"
5 CATEGORY="development"
6 SHORT_DESC="Perl extension Event."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL"
9 WEB_SITE="https://metacpan.org/pod/Event"
10 REPOLOGY="perl:event"
12 SOURCE="Event"
13 TARBALL="$SOURCE-$VERSION.tar.gz"
14 WGET_URL="https://www.cpan.org/modules/by-module/Event/$TARBALL"
16 SUGGESTED="perl-time-hires"
17 DEPENDS="perl"
18 BUILD_DEPENDS="perl"
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 }