wok-current annotate perl-file-find-rule/receipt @ rev 22312

get-LibreOffice: look for available versions
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 14 10:49:19 2019 +0100 (2019-11-14)
parents 6e8b1bcb30e2
children be7883c73a47
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"
pascal@14702 8 LICENSE="GPL"
slaxemulator@10176 9 DEPENDS="perl-text-glob perl-number-compare perl"
slaxemulator@10176 10 BUILD_DEPENDS="$DEPENDS"
slaxemulator@10176 11 SOURCE="File-Find-Rule"
slaxemulator@10176 12 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@20671 13 WEB_SITE="https://metacpan.org/release/File-Find-Rule/"
pascal@20682 14 WGET_URL="https://metacpan.org/CPAN/authors/id/R/RC/RCLAMP/$TARBALL"
slaxemulator@10176 15
slaxemulator@10176 16 # Rules to configure and make the package.
slaxemulator@10176 17 compile_rules()
slaxemulator@10176 18 {
slaxemulator@10176 19 cd $src
slaxemulator@10176 20 perl Makefile.PL &&
slaxemulator@10176 21 make &&
slaxemulator@10176 22 make install DESTDIR=$DESTDIR
slaxemulator@10176 23 }
slaxemulator@10176 24
slaxemulator@10176 25 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@10176 26 genpkg_rules()
slaxemulator@10176 27 {
slaxemulator@10176 28 mkdir -p $fs/usr
pascal@14702 29 cp -a $install/usr/bin $fs/usr
pascal@14702 30 cp -a $install/usr/lib $fs/usr
slaxemulator@10176 31 }
slaxemulator@10176 32