wok-current annotate perl-file-tail/receipt @ rev 7699
Up: bogofilter to 1.2.2.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Dec 18 14:13:35 2010 +0000 (2010-12-18) |
parents | |
children | 2d12ebd38be4 |
rev | line source |
---|---|
pascal@7116 | 1 # SliTaz package receipt. |
pascal@7116 | 2 |
pascal@7116 | 3 PACKAGE="perl-file-tail" |
pascal@7116 | 4 VERSION="0.99.3" |
pascal@7116 | 5 CATEGORY="development" |
pascal@7116 | 6 SHORT_DESC="File::Tail module is a Perl extension." |
pascal@7116 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@7116 | 8 DEPENDS="perl" |
pascal@7116 | 9 BUILD_DEPENDS="perl" |
pascal@7116 | 10 SOURCE="File-Tail" |
pascal@7116 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@7116 | 12 WEB_SITE="http://cpan.org/" |
pascal@7116 | 13 WGET_URL="http://search.cpan.org/CPAN/authors/id/M/MG/MGRABNAR/$TARBALL" |
pascal@7116 | 14 |
pascal@7116 | 15 # Rules to configure and make the package. |
pascal@7116 | 16 compile_rules() |
pascal@7116 | 17 { |
pascal@7116 | 18 cd $src |
pascal@7116 | 19 perl Makefile.PL && |
pascal@7116 | 20 make && |
pascal@7116 | 21 make DESTDIR=$PWD/_pkg install |
pascal@7116 | 22 } |
pascal@7116 | 23 |
pascal@7116 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@7116 | 25 genpkg_rules() |
pascal@7116 | 26 { |
pascal@7116 | 27 mkdir -p $fs/usr |
pascal@7116 | 28 cp -a $_pkg/usr/lib $fs/usr |
pascal@7116 | 29 } |
pascal@7116 | 30 |