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