wok diff perl-try-tiny/receipt @ rev 18715

apache, lighttpd: fix post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Dec 16 23:00:12 2015 +0100 (2015-12-16)
parents
children 6e8b1bcb30e2
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/perl-try-tiny/receipt	Wed Dec 16 23:00:12 2015 +0100
     1.3 @@ -0,0 +1,30 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="perl-try-tiny"
     1.7 +VERSION="0.22"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="Try::Tiny is a perl module"
    1.10 +MAINTAINER="nneul@neulinger.org"
    1.11 +LICENSE="GPL"
    1.12 +WEB_SITE="http://search.cpan.org/dist/Try-Tiny"
    1.13 +SOURCE="Try-Tiny"
    1.14 +TARBALL="$SOURCE-$VERSION.tar.gz"
    1.15 +WGET_URL="http://www.cpan.org/authors/id/D/DO/DOY/$TARBALL"
    1.16 +
    1.17 +DEPENDS="perl"
    1.18 +BUILD_DEPENDS="$DEPENDS"
    1.19 +
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +	cd $src
    1.24 +	perl Makefile.PL &&
    1.25 +	make &&
    1.26 +	make DESTDIR=$DESTDIR install
    1.27 +}
    1.28 +
    1.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.30 +genpkg_rules()
    1.31 +{
    1.32 +	cp -a $install/usr $fs
    1.33 +}