wok annotate perltidy/receipt @ rev 19239

Up tazpkg (910).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Jun 28 01:27:04 2016 +0300 (2016-06-28)
parents 74d144f735b5
children 6e8b1bcb30e2
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"
nneul@17897 13 WEB_SITE="http://search.cpan.org/dist/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