wok-6.x view perltidy/receipt @ rev 22374
updated ilmbase and ilmbase-dev again (2.2.0 -> 2.3.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Nov 27 16:47:30 2019 +0100 (2019-11-27) |
parents | 2fe6eec7c01c |
children | c3ea0afd1174 |
line source
1 # SliTaz package receipt.
3 PACKAGE="perltidy"
4 VERSION="20140711"
5 CATEGORY="development"
6 SHORT_DESC="Perl Code Formatter"
7 MAINTAINER="nneul@neulinger.org"
8 LICENSE="GPL"
9 DEPENDS="perl"
10 BUILD_DEPENDS="perl"
11 SOURCE="Perl-Tidy"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WEB_SITE="https://metacpan.org/release/Perl-Tidy/"
14 WGET_URL="http://www.cpan.org/authors/id/S/SH/SHANCOCK/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 perl Makefile.PL &&
21 make &&
22 make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $install/usr/bin $fs/usr
30 cp -a $install/usr/lib $fs/usr
32 # remove perllocal.pod and .packlist
33 find ${fs} -name perllocal.pod -delete
34 find ${fs} -name .packlist -delete
35 }