wok annotate perl-file-tail/receipt @ rev 11915

squid: improve package (again)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu Mar 01 00:00:54 2012 +0100 (2012-03-01)
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