wok view perltidy/receipt @ rev 23973

Up openconnect (8.10), openexr (2.5.3), openldap (2.4.55), openssh (8.4p1), openvswitch (2.14.0), phpmyadmin (5.0.4), rust (1.47.0), shellinabox (2.21)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Oct 28 12:04:50 2020 +0000 (2020-10-28)
parents 6e8b1bcb30e2
children 15650f5d595b
line source
1 # SliTaz package receipt.
3 PACKAGE="perltidy"
4 VERSION="20200110"
5 CATEGORY="development"
6 SHORT_DESC="Perl Code Formatter."
7 MAINTAINER="nneul@neulinger.org"
8 LICENSE="GPL"
9 WEB_SITE="https://metacpan.org/release/Perl-Tidy/"
11 SOURCE="Perl-Tidy"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="https://www.cpan.org/modules/by-module/Perl/$TARBALL"
15 DEPENDS="perl"
16 BUILD_DEPENDS="perl"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 perl Makefile.PL &&
22 make &&
23 make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $install/usr/bin $fs/usr
31 cp -a $install/usr/lib $fs/usr
33 # remove perllocal.pod and .packlist
34 find $fs -name perllocal.pod -delete
35 find $fs -name .packlist -delete
36 }