# HG changeset patch # User Pascal Bellard # Date 1227249585 0 # Node ID 8812757401c1b2a8d30321ae6954bb14fe6e6e6b # Parent 1e9438c5af8dcd3ee6329016d9c60ed8208da47d Add perl-animation diff -r 1e9438c5af8d -r 8812757401c1 perl-animation/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/perl-animation/receipt Fri Nov 21 06:39:45 2008 +0000 @@ -0,0 +1,30 @@ +# SliTaz package receipt. + +PACKAGE="perl-animation" +VERSION="2.4" +CATEGORY="development" +SHORT_DESC="Term::Animation module is a Perl extension." +MAINTAINER="pascal.bellard@slitaz.org" +DEPENDS="perl" +BUILD_DEPENDS="perl" +SOURCE="Term-Animation" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://www.cpan.org/modules/by-authors/id/MJD/Template.html" +WGET_URL="http://search.cpan.org/CPAN/authors/id/K/KB/KBAUCOM/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + perl Makefile.PL && + make && + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $_pkg/usr/lib $fs/usr +} +