wok view perl-lchown/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 7ce282b2221f
children 20661c276bcf
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-lchown"
4 VERSION="1.01"
5 CATEGORY="development"
6 SHORT_DESC="Lchown module is a Perl extension."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL"
9 SOURCE="Lchown"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://cpan.org/"
12 WGET_URL="http://search.cpan.org/CPAN/authors/id/N/NC/NCLEATON/$TARBALL"
14 DEPENDS="perl"
15 BUILD_DEPENDS="perl"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 perl Makefile.PL &&
22 make &&
23 make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $install/usr/lib $fs/usr
31 }