wok-next annotate perl-animation/receipt @ rev 2389
cyrus-imapd: fix chroot in post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 10 08:58:14 2009 +0000 (2009-03-10) |
parents | 8812757401c1 |
children | 2d12ebd38be4 |
rev | line source |
---|---|
pascal@1731 | 1 # SliTaz package receipt. |
pascal@1731 | 2 |
pascal@1731 | 3 PACKAGE="perl-animation" |
pascal@1731 | 4 VERSION="2.4" |
pascal@1731 | 5 CATEGORY="development" |
pascal@1731 | 6 SHORT_DESC="Term::Animation module is a Perl extension." |
pascal@1731 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@1731 | 8 DEPENDS="perl" |
pascal@1731 | 9 BUILD_DEPENDS="perl" |
pascal@1731 | 10 SOURCE="Term-Animation" |
pascal@1731 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@1743 | 12 WEB_SITE="http://cpan.org/" |
pascal@1731 | 13 WGET_URL="http://search.cpan.org/CPAN/authors/id/K/KB/KBAUCOM/$TARBALL" |
pascal@1731 | 14 |
pascal@1731 | 15 # Rules to configure and make the package. |
pascal@1731 | 16 compile_rules() |
pascal@1731 | 17 { |
pascal@1731 | 18 cd $src |
pascal@1731 | 19 perl Makefile.PL && |
pascal@1731 | 20 make && |
pascal@1731 | 21 make DESTDIR=$PWD/_pkg install |
pascal@1731 | 22 } |
pascal@1731 | 23 |
pascal@1731 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1731 | 25 genpkg_rules() |
pascal@1731 | 26 { |
pascal@1731 | 27 mkdir -p $fs/usr |
pascal@1731 | 28 cp -a $_pkg/usr/lib $fs/usr |
pascal@1731 | 29 } |
pascal@1731 | 30 |