wok-current annotate perl-io-compress/receipt @ rev 7704
Fixed codeblocks.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Dec 18 20:47:18 2010 +0000 (2010-12-18) |
parents | |
children | 2d12ebd38be4 |
rev | line source |
---|---|
erjo@2647 | 1 # SliTaz package receipt. |
erjo@2647 | 2 |
erjo@2647 | 3 PACKAGE="perl-io-compress" |
erjo@2647 | 4 VERSION="2.017" |
erjo@2647 | 5 CATEGORY="development" |
erjo@2647 | 6 SHORT_DESC="PERL interface to zlib compression library" |
erjo@2647 | 7 MAINTAINER="erjo@slitaz.org" |
erjo@2647 | 8 DEPENDS="perl perl-compress-raw-bzip2 perl-compress-raw-zlib" |
erjo@2647 | 9 BUILD_DEPENDS="perl perl-compress-raw-bzip2 perl-compress-raw-zlib" |
erjo@2647 | 10 SOURCE="IO-Compress" |
erjo@2647 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
erjo@2647 | 12 WEB_SITE="http://cpan.org/" |
erjo@2647 | 13 WGET_URL="http://search.cpan.org/CPAN/authors/id/P/PM/PMQS/$TARBALL" |
erjo@2647 | 14 |
erjo@2647 | 15 |
erjo@2647 | 16 # Rules to configure and make the package. |
erjo@2647 | 17 compile_rules() |
erjo@2647 | 18 { |
erjo@2647 | 19 cd $src |
erjo@2647 | 20 perl Makefile.PL |
erjo@2647 | 21 make |
erjo@2647 | 22 make DESTDIR=$PWD/_pkg install |
erjo@2647 | 23 } |
erjo@2647 | 24 |
erjo@2647 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@2647 | 26 genpkg_rules() |
erjo@2647 | 27 { |
erjo@2647 | 28 mkdir -p $fs/usr |
erjo@2647 | 29 cp -a $_pkg/usr/lib $fs/usr |
erjo@2647 | 30 } |
erjo@2647 | 31 |