wok-6.x annotate perl-date-manip/receipt @ rev 20319

Up tazlito (501)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 20 13:28:18 2018 +0200 (2018-05-20)
parents 6a0b7538bfb7
children 6e8b1bcb30e2
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"
slaxemulator@9306 13 WEB_SITE="http://search.cpan.org/dist/Date-Manip/"
slaxemulator@9306 14 WGET_URL="http://search.cpan.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 }