wok annotate perl-animation/receipt @ rev 19875
linld: fix chdirname
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 31 12:51:11 2017 +0200 (2017-03-31) |
parents | d38ad8b2c6a5 |
children | 20661c276bcf |
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@14702 | 8 LICENSE="GPL" |
pascal@1731 | 9 DEPENDS="perl" |
pascal@1731 | 10 BUILD_DEPENDS="perl" |
pascal@1731 | 11 SOURCE="Term-Animation" |
pascal@1731 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@1743 | 13 WEB_SITE="http://cpan.org/" |
pascal@1731 | 14 WGET_URL="http://search.cpan.org/CPAN/authors/id/K/KB/KBAUCOM/$TARBALL" |
pascal@1731 | 15 |
pascal@1731 | 16 # Rules to configure and make the package. |
pascal@1731 | 17 compile_rules() |
pascal@1731 | 18 { |
pascal@1731 | 19 cd $src |
pascal@1731 | 20 perl Makefile.PL && |
pascal@1731 | 21 make && |
pascal@14702 | 22 make DESTDIR=$DESTDIR install |
pascal@1731 | 23 } |
pascal@1731 | 24 |
pascal@1731 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1731 | 26 genpkg_rules() |
pascal@1731 | 27 { |
pascal@1731 | 28 mkdir -p $fs/usr |
pascal@14702 | 29 cp -a $install/usr/lib $fs/usr |
pascal@1731 | 30 } |
pascal@1731 | 31 |