wok-next annotate perl-io-scalar/receipt @ rev 5573
tcc: add cross compilers
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 15 16:05:09 2010 +0200 (2010-05-15) |
parents | 38ff15d52fe4 |
children | 2d12ebd38be4 |
rev | line source |
---|---|
pascal@1672 | 1 # SliTaz package receipt. |
pascal@1672 | 2 |
pascal@1672 | 3 PACKAGE="perl-io-scalar" |
pascal@1672 | 4 VERSION="2.110" |
pascal@1672 | 5 CATEGORY="development" |
pascal@1672 | 6 SHORT_DESC="IO::Scalar module is a Perl extension." |
pascal@1672 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@1672 | 8 DEPENDS="perl" |
pascal@1672 | 9 BUILD_DEPENDS="perl" |
pascal@1672 | 10 SOURCE="IO-stringy" |
pascal@1672 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@1743 | 12 WEB_SITE="http://cpan.org/" |
pascal@1672 | 13 WGET_URL="http://search.cpan.org/CPAN/authors/id/D/DS/DSKOLL/$TARBALL" |
pascal@1672 | 14 |
pascal@1672 | 15 # Rules to configure and make the package. |
pascal@1672 | 16 compile_rules() |
pascal@1672 | 17 { |
pascal@1672 | 18 cd $src |
pascal@1672 | 19 perl Makefile.PL && |
pascal@1672 | 20 make && |
pascal@1672 | 21 make DESTDIR=$PWD/_pkg install |
pascal@1672 | 22 } |
pascal@1672 | 23 |
pascal@1672 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1672 | 25 genpkg_rules() |
pascal@1672 | 26 { |
pascal@1672 | 27 mkdir -p $fs/usr |
pascal@1672 | 28 cp -a $_pkg/usr/lib $fs/usr |
pascal@1672 | 29 } |
pascal@1672 | 30 |