wok annotate perltidy/receipt @ rev 20793
linld: fix strcatb
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 14 18:37:56 2019 +0100 (2019-02-14) |
parents | 2fe6eec7c01c |
children | c3ea0afd1174 |
rev | line source |
---|---|
nneul@17897 | 1 # SliTaz package receipt. |
nneul@17897 | 2 |
nneul@17897 | 3 PACKAGE="perltidy" |
nneul@17897 | 4 VERSION="20140711" |
nneul@17897 | 5 CATEGORY="development" |
nneul@17897 | 6 SHORT_DESC="Perl Code Formatter" |
nneul@17897 | 7 MAINTAINER="nneul@neulinger.org" |
nneul@17897 | 8 LICENSE="GPL" |
nneul@17897 | 9 DEPENDS="perl" |
nneul@17897 | 10 BUILD_DEPENDS="perl" |
nneul@17897 | 11 SOURCE="Perl-Tidy" |
nneul@17897 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@20671 | 13 WEB_SITE="https://metacpan.org/release/Perl-Tidy/" |
nneul@17897 | 14 WGET_URL="http://www.cpan.org/authors/id/S/SH/SHANCOCK/$TARBALL" |
nneul@17897 | 15 |
nneul@17897 | 16 # Rules to configure and make the package. |
nneul@17897 | 17 compile_rules() |
nneul@17897 | 18 { |
nneul@17897 | 19 cd $src |
nneul@17897 | 20 perl Makefile.PL && |
nneul@17897 | 21 make && |
nneul@17897 | 22 make DESTDIR=$DESTDIR install |
nneul@17897 | 23 } |
nneul@17897 | 24 |
nneul@17897 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
nneul@17897 | 26 genpkg_rules() |
nneul@17897 | 27 { |
nneul@17897 | 28 mkdir -p $fs/usr |
nneul@17904 | 29 cp -a $install/usr/bin $fs/usr |
nneul@17897 | 30 cp -a $install/usr/lib $fs/usr |
nneul@17904 | 31 |
nneul@17897 | 32 # remove perllocal.pod and .packlist |
nneul@17897 | 33 find ${fs} -name perllocal.pod -delete |
nneul@17897 | 34 find ${fs} -name .packlist -delete |
nneul@17897 | 35 } |
nneul@17897 | 36 |