wok diff perl-exporter-tiny/receipt @ rev 18730

Quote root dir in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 20 15:13:45 2015 +0100 (2015-12-20)
parents
children 6e8b1bcb30e2
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/perl-exporter-tiny/receipt	Sun Dec 20 15:13:45 2015 +0100
     1.3 @@ -0,0 +1,30 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="perl-exporter-tiny"
     1.7 +VERSION="0.043_01"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="Exporter::Tiny is a perl module"
    1.10 +MAINTAINER="nneul@neulinger.org"
    1.11 +LICENSE="GPL"
    1.12 +WEB_SITE="http://search.cpan.org/dist/Exporter-Tiny"
    1.13 +SOURCE="Exporter-Tiny"
    1.14 +TARBALL="$SOURCE-$VERSION.tar.gz"
    1.15 +WGET_URL="http://www.cpan.org/authors/id/T/TO/TOBYINK/$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 +}