wok view perl-io-stty/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 8df91607b9af
children 20661c276bcf
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-io-stty"
4 VERSION="0.03"
5 CATEGORY="development"
6 SHORT_DESC="IO::Stty module is a Perl extension."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL"
9 WEB_SITE="http://search.cpan.org/"
10 DEPENDS="perl"
11 BUILD_DEPENDS="perl"
12 SOURCE="IO-Stty"
13 TARBALL="$SOURCE-$VERSION.tar.gz"
14 WGET_URL="http://search.cpan.org/CPAN/authors/id/T/TO/TODDR/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 perl Build.PL &&
21 ./Build --destdir $DESTDIR install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 cp -a $install/usr $fs
28 }