wok-current annotate perl-date-calc/receipt @ rev 14198
move to undigest: xorg-xf86-video-sis xorg-xf86-video-savage xorg-xf86-video-r128 xorg-xf86-video-openchrome xorg-xf86-video-mga xorg-xf86-video-mach64
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Mar 13 10:16:45 2013 +0100 (2013-03-13) |
parents | |
children | 2d12ebd38be4 |
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 |