wok-current view perl-date-manip/receipt @ rev 25672
patch tazpkg, upgrade core pkgs first
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sun Mar 03 17:58:42 2024 +0000 (5 months ago) |
parents | d2b97b580e23 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-date-manip"
4 VERSION="6.88"
5 CATEGORY="development"
6 SHORT_DESC="Perl extension Date::Manip."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL"
9 WEB_SITE="https://metacpan.org/pod/Date::Manip"
10 REPOLOGY="perl:date-manip"
12 SOURCE="Date-Manip"
13 TARBALL="$SOURCE-$VERSION.tar.gz"
14 WGET_URL="https://cpan.metacpan.org/authors/id/S/SB/SBECK/$TARBALL"
16 DEPENDS="perl perl-yaml-syck"
17 BUILD_DEPENDS="perl perl-extutils-makemaker perl-yaml-syck"
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 }