wok-current view perl-io-compress/receipt @ rev 12676

mpd: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 01 13:46:30 2012 +0200 (2012-05-01)
parents
children 2d12ebd38be4
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-io-compress"
4 VERSION="2.017"
5 CATEGORY="development"
6 SHORT_DESC="PERL interface to zlib compression library"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="perl perl-compress-raw-bzip2 perl-compress-raw-zlib"
9 BUILD_DEPENDS="perl perl-compress-raw-bzip2 perl-compress-raw-zlib"
10 SOURCE="IO-Compress"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WEB_SITE="http://cpan.org/"
13 WGET_URL="http://search.cpan.org/CPAN/authors/id/P/PM/PMQS/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 perl Makefile.PL
21 make
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $_pkg/usr/lib $fs/usr
30 }