wok annotate perl-template-toolkit/receipt @ rev 19142
Down ffmpeg (2.8.7)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 19 12:09:28 2016 +0200 (2016-05-19) |
parents | |
children | 6e8b1bcb30e2 |
rev | line source |
---|---|
nneul@17852 | 1 # SliTaz package receipt. |
nneul@17852 | 2 |
nneul@17852 | 3 PACKAGE="perl-template-toolkit" |
nneul@17852 | 4 VERSION="2.26" |
nneul@17852 | 5 CATEGORY="development" |
nneul@17852 | 6 SHORT_DESC="Perl/CPAN Module Template Toolkit" |
nneul@17852 | 7 MAINTAINER="nneul@neulinger.org" |
nneul@17852 | 8 LICENSE="Artistic" |
nneul@17852 | 9 DEPENDS="perl perl-appconfig" |
nneul@17852 | 10 BUILD_DEPENDS="perl-appconfig" |
nneul@17852 | 11 SOURCE="Template-Toolkit" |
nneul@17852 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
nneul@17852 | 13 WEB_SITE="http://search.cpan.org/dist/Template-Toolkit/" |
nneul@17852 | 14 WGET_URL="http://www.cpan.org/authors/id/A/AB/ABW/$TARBALL" |
nneul@17852 | 15 |
nneul@17852 | 16 # Rules to configure and make the package. |
nneul@17852 | 17 compile_rules() |
nneul@17852 | 18 { |
nneul@17852 | 19 cd $src |
nneul@17852 | 20 perl Makefile.PL TT_XS_ENABLE=y TT_XS_DEFAULT=y TT_ACCEPT=y TT_QUIET=n && |
nneul@17852 | 21 make && |
nneul@17852 | 22 make DESTDIR=$DESTDIR install |
nneul@17852 | 23 } |
nneul@17852 | 24 |
nneul@17852 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
nneul@17852 | 26 genpkg_rules() |
nneul@17852 | 27 { |
nneul@17852 | 28 mkdir -p $fs/usr |
nneul@17852 | 29 cp -a $install/usr/lib $fs/usr |
nneul@17852 | 30 # remove perllocal.pod and .packlist |
nneul@17852 | 31 find ${fs} -name perllocal.pod -delete |
nneul@17852 | 32 find ${fs} -name .packlist -delete |
nneul@17852 | 33 |
nneul@17852 | 34 |
nneul@17852 | 35 } |
nneul@17852 | 36 |