wok-6.x annotate perl-file-find-rule/receipt @ rev 13045

pcsxr-svn: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jun 15 18:25:33 2012 +0200 (2012-06-15)
parents
children 2d12ebd38be4
rev   line source
slaxemulator@10176 1 # SliTaz package receipt.
slaxemulator@10176 2
slaxemulator@10176 3 PACKAGE="perl-file-find-rule"
slaxemulator@10176 4 VERSION="0.32"
slaxemulator@10176 5 CATEGORY="development"
slaxemulator@10176 6 SHORT_DESC="Perl/CPAN Module File::Find::Rule."
slaxemulator@10176 7 MAINTAINER="slaxemulator@gmail.com"
slaxemulator@10176 8 DEPENDS="perl-text-glob perl-number-compare perl"
slaxemulator@10176 9 BUILD_DEPENDS="$DEPENDS"
slaxemulator@10176 10 SOURCE="File-Find-Rule"
slaxemulator@10176 11 TARBALL="$SOURCE-$VERSION.tar.gz"
slaxemulator@10176 12 WEB_SITE="http://search.cpan.org/dist/File-Find-Rule/"
slaxemulator@10176 13 WGET_URL="http://search.cpan.org/CPAN/authors/id/R/RC/RCLAMP/$TARBALL"
slaxemulator@10176 14
slaxemulator@10176 15 # Rules to configure and make the package.
slaxemulator@10176 16 compile_rules()
slaxemulator@10176 17 {
slaxemulator@10176 18 cd $src
slaxemulator@10176 19 perl Makefile.PL &&
slaxemulator@10176 20 make &&
slaxemulator@10176 21 make install DESTDIR=$DESTDIR
slaxemulator@10176 22 }
slaxemulator@10176 23
slaxemulator@10176 24 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@10176 25 genpkg_rules()
slaxemulator@10176 26 {
slaxemulator@10176 27 mkdir -p $fs/usr
slaxemulator@10176 28 cp -a $_pkg/usr/bin $fs/usr
slaxemulator@10176 29 cp -a $_pkg/usr/lib $fs/usr
slaxemulator@10176 30 }
slaxemulator@10176 31