wok-stable annotate perl-date-calc/receipt @ rev 10173

Add perl-date-calc.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri May 20 22:01:49 2011 +0000 (2011-05-20)
parents
children
rev   line source
slaxemulator@10173 1 # SliTaz package receipt.
slaxemulator@10173 2
slaxemulator@10173 3 PACKAGE="perl-date-calc"
slaxemulator@10173 4 VERSION="6.3"
slaxemulator@10173 5 CATEGORY="development"
slaxemulator@10173 6 SHORT_DESC="Perl module for Gregorian calendar date calculations"
slaxemulator@10173 7 MAINTAINER="slaxemulator@gmail.com"
slaxemulator@10173 8 DEPENDS="perl perl-bit-vector"
slaxemulator@10173 9 BUILD_DEPENDS="$DEPENDS"
slaxemulator@10173 10 SOURCE="Date-Calc"
slaxemulator@10173 11 TARBALL="$SOURCE-$VERSION.tar.gz"
slaxemulator@10173 12 WEB_SITE="http://search.cpan.org/dist/Date-Calc/"
slaxemulator@10173 13 WGET_URL="http://search.cpan.org/CPAN/authors/id/S/ST/STBEY/$TARBALL"
slaxemulator@10173 14
slaxemulator@10173 15 # Rules to configure and make the package.
slaxemulator@10173 16 compile_rules()
slaxemulator@10173 17 {
slaxemulator@10173 18 cd $src
slaxemulator@10173 19 perl Makefile.PL &&
slaxemulator@10173 20 make &&
slaxemulator@10173 21 make install DESTDIR=$DESTDIR
slaxemulator@10173 22 }
slaxemulator@10173 23
slaxemulator@10173 24 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@10173 25 genpkg_rules()
slaxemulator@10173 26 {
slaxemulator@10173 27 mkdir -p $fs/usr
slaxemulator@10173 28 cp -a $_pkg/usr/lib $fs/usr
slaxemulator@10173 29 }
slaxemulator@10173 30