wok-next annotate perl-preadsheet-parseexcel/receipt @ rev 5614
catalyst: fix compile with 2.6.33.4 and WGET_URL
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Thu May 20 10:43:52 2010 -0400 (2010-05-20) |
parents | |
children | 2d12ebd38be4 |
rev | line source |
---|---|
pascal@1608 | 1 # SliTaz package receipt. |
pascal@1608 | 2 |
pascal@1608 | 3 PACKAGE="perl-preadsheet-parseexcel" |
pascal@1608 | 4 VERSION="0.33" |
pascal@1608 | 5 CATEGORY="development" |
pascal@1608 | 6 SHORT_DESC="Spreadsheet::ParseExcel module is a Perl extension." |
pascal@1608 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@1608 | 8 DEPENDS="perl" |
pascal@1608 | 9 BUILD_DEPENDS="perl" |
pascal@1608 | 10 SOURCE="Spreadsheet-ParseExcel" |
pascal@1608 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@1608 | 12 WEB_SITE="http://cpan.org/" |
pascal@1608 | 13 WGET_URL="http://cpan.org/authors/id/S/SZ/SZABGAB/$TARBALL" |
pascal@1608 | 14 |
pascal@1608 | 15 # Rules to configure and make the package. |
pascal@1608 | 16 compile_rules() |
pascal@1608 | 17 { |
pascal@1608 | 18 cd $src |
pascal@1608 | 19 perl Makefile.PL |
pascal@1608 | 20 make |
pascal@1608 | 21 make DESTDIR=$PWD/_pkg install |
pascal@1608 | 22 } |
pascal@1608 | 23 |
pascal@1608 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1608 | 25 genpkg_rules() |
pascal@1608 | 26 { |
pascal@1608 | 27 mkdir -p $fs/usr |
pascal@1608 | 28 cp -a $_pkg/usr/lib $fs/usr |
pascal@1608 | 29 } |
pascal@1608 | 30 |