wok annotate perltidy/receipt @ rev 23422
updated perltidy (20140711 -> 20200110)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Apr 01 08:11:45 2020 +0100 (2020-04-01) |
parents | 6e8b1bcb30e2 |
children | 15650f5d595b |
rev | line source |
---|---|
nneul@17897 | 1 # SliTaz package receipt. |
nneul@17897 | 2 |
nneul@17897 | 3 PACKAGE="perltidy" |
Hans-G?nter@23422 | 4 VERSION="20200110" |
nneul@17897 | 5 CATEGORY="development" |
Hans-G?nter@23422 | 6 SHORT_DESC="Perl Code Formatter." |
nneul@17897 | 7 MAINTAINER="nneul@neulinger.org" |
nneul@17897 | 8 LICENSE="GPL" |
Hans-G?nter@23422 | 9 WEB_SITE="https://metacpan.org/release/Perl-Tidy/" |
Hans-G?nter@23422 | 10 |
Hans-G?nter@23422 | 11 SOURCE="Perl-Tidy" |
Hans-G?nter@23422 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23422 | 13 WGET_URL="https://www.cpan.org/modules/by-module/Perl/$TARBALL" |
Hans-G?nter@23422 | 14 |
nneul@17897 | 15 DEPENDS="perl" |
nneul@17897 | 16 BUILD_DEPENDS="perl" |
nneul@17897 | 17 |
nneul@17897 | 18 # Rules to configure and make the package. |
nneul@17897 | 19 compile_rules() |
nneul@17897 | 20 { |
nneul@17897 | 21 perl Makefile.PL && |
nneul@17897 | 22 make && |
nneul@17897 | 23 make DESTDIR=$DESTDIR install |
nneul@17897 | 24 } |
nneul@17897 | 25 |
nneul@17897 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
nneul@17897 | 27 genpkg_rules() |
nneul@17897 | 28 { |
nneul@17897 | 29 mkdir -p $fs/usr |
Hans-G?nter@23422 | 30 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@23422 | 31 cp -a $install/usr/lib $fs/usr |
nneul@17904 | 32 |
nneul@17897 | 33 # remove perllocal.pod and .packlist |
Hans-G?nter@23422 | 34 find $fs -name perllocal.pod -delete |
Hans-G?nter@23422 | 35 find $fs -name .packlist -delete |
nneul@17897 | 36 } |