wok-6.x annotate perl-date-manip/receipt @ rev 22430
Add sshrc
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Dec 20 19:07:35 2019 +0100 (2019-12-20) |
parents | 6e8b1bcb30e2 |
children | fc13462d982a |
rev | line source |
---|---|
slaxemulator@9306 | 1 # SliTaz package receipt. |
slaxemulator@9306 | 2 |
slaxemulator@9306 | 3 PACKAGE="perl-date-manip" |
slaxemulator@9306 | 4 VERSION="6.22" |
slaxemulator@9306 | 5 CATEGORY="development" |
slaxemulator@9306 | 6 SHORT_DESC="Date::Manip module is a Perl extension." |
slaxemulator@9306 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@14702 | 8 LICENSE="GPL" |
slaxemulator@9306 | 9 DEPENDS="perl perl-yaml-syck" |
slaxemulator@9306 | 10 BUILD_DEPENDS="perl perl-yaml-syck" |
slaxemulator@9306 | 11 SOURCE="Date-Manip" |
slaxemulator@9306 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@20671 | 13 WEB_SITE="https://metacpan.org/release/Date-Manip/" |
pascal@20682 | 14 WGET_URL="https://metacpan.org/CPAN/authors/id/S/SB/SBECK/$TARBALL" |
slaxemulator@9306 | 15 |
slaxemulator@9306 | 16 # Rules to configure and make the package. |
slaxemulator@9306 | 17 compile_rules() |
slaxemulator@9306 | 18 { |
slaxemulator@9306 | 19 cd $src |
slaxemulator@9306 | 20 perl Makefile.PL && |
slaxemulator@9306 | 21 make && |
pascal@14702 | 22 make DESTDIR=$DESTDIR install |
slaxemulator@9306 | 23 } |
slaxemulator@9306 | 24 |
slaxemulator@9306 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@9306 | 26 genpkg_rules() |
slaxemulator@9306 | 27 { |
slaxemulator@9306 | 28 mkdir -p $fs/usr |
pascal@14702 | 29 cp -a $install/usr/lib $fs/usr |
slaxemulator@9306 | 30 } |