wok annotate perltidy/receipt @ rev 18574

make-slitaz-icons: add 'unknown' icon
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Nov 11 01:53:57 2015 +0200 (2015-11-11)
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