wok-6.x view perl-file-which/receipt @ rev 20467
Add perl-universal-require & perl-file-which (thanks neoclust3)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Oct 11 17:45:57 2018 +0200 (2018-10-11) |
parents | |
children | 660220d9dba5 |
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-file-which"
4 VERSION="1.22"
5 CATEGORY="development"
6 SHORT_DESC="File::Which module is a Perl extension"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL"
9 DEPENDS="perl"
10 BUILD_DEPENDS="perl"
11 SOURCE="File-Which"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WEB_SITE="http://cpan.org/"
14 WGET_URL="https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 perl Makefile.PL
20 make
21 make DESTDIR=$DESTDIR install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 cp -a $install/usr/lib $fs/usr
28 }