wok-6.x annotate perltidy/receipt @ rev 22273
updated xorg-xf86-video-intel (2.21.9 -> 2.99.917)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Nov 13 11:13:50 2019 +0100 (2019-11-13) |
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 |