wok annotate perl-file-which/receipt @ rev 21874

facter: fix build
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 28 11:31:06 2019 +0200 (2019-09-28)
parents 1e4880cfe309
children 50ceadeb4948
rev   line source
pascal@20467 1 # SliTaz package receipt.
pascal@20467 2
pascal@20467 3 PACKAGE="perl-file-which"
pascal@20467 4 VERSION="1.22"
pascal@20467 5 CATEGORY="development"
pascal@20467 6 SHORT_DESC="File::Which module is a Perl extension"
pascal@20467 7 MAINTAINER="devel@slitaz.org"
pascal@20467 8 LICENSE="GPL"
pascal@20467 9 DEPENDS="perl"
pascal@20467 10 BUILD_DEPENDS="perl"
pascal@20467 11 SOURCE="File-Which"
pascal@20467 12 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@20467 13 WEB_SITE="http://cpan.org/"
pascal@20467 14 WGET_URL="https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/$TARBALL"
pascal@20467 15
pascal@20467 16 # Rules to configure and make the package.
pascal@20467 17 compile_rules()
pascal@20467 18 {
pascal@20467 19 perl Makefile.PL
pascal@20467 20 make
pascal@20467 21 make DESTDIR=$DESTDIR install
pascal@20467 22 }
pascal@20467 23
pascal@20467 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@20467 25 genpkg_rules()
pascal@20467 26 {
pascal@20469 27 mkdir -p $fs/usr
pascal@20467 28 cp -a $install/usr/lib $fs/usr
pascal@20467 29 }