# SliTaz package receipt. PACKAGE="perl-datetime" VERSION="0.70" CATEGORY="development" SHORT_DESC="DateTime module is a Perl extension." MAINTAINER="pascal.bellard@slitaz.org" SOURCE="DateTime" TARBALL="$SOURCE-$VERSION.tar.gz" WEB_SITE="http://search.cpan.org/dist/DateTime" WGET_URL="http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/$TARBALL" DEPENDS="perl perl-params-validate perl-test-exception \ perl-datetime-locale perl-math-round perl-datetime-timezone" BUILD_DEPENDS="$DEPENDS" # Rules to configure and make the package. compile_rules() { cd $src perl Build.PL && ./Build --destdir $DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr cp -a $_pkg/usr/lib $fs/usr }