wok-6.x annotate perl-spreadsheet-writeexcel/receipt @ rev 9026
gtkperf: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 03 22:08:34 2011 +0100 (2011-03-03) |
parents | |
children | 2d12ebd38be4 |
rev | line source |
---|---|
pascal@1605 | 1 # SliTaz package receipt. |
pascal@1605 | 2 |
pascal@1605 | 3 PACKAGE="perl-spreadsheet-writeexcel" |
pascal@1605 | 4 VERSION="2.25" |
pascal@1605 | 5 CATEGORY="development" |
pascal@1605 | 6 SHORT_DESC="Spreadsheet::WriteExcel module is a Perl extension." |
pascal@1605 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@1605 | 8 DEPENDS="perl" |
pascal@1605 | 9 BUILD_DEPENDS="perl" |
pascal@1605 | 10 SOURCE="Spreadsheet-WriteExcel" |
pascal@1605 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@1605 | 12 WEB_SITE="http://cpan.org/" |
pascal@1605 | 13 WGET_URL="http://cpan.org/authors/id/J/JM/JMCNAMARA/$TARBALL" |
pascal@1605 | 14 |
pascal@1605 | 15 # Rules to configure and make the package. |
pascal@1605 | 16 compile_rules() |
pascal@1605 | 17 { |
pascal@1605 | 18 cd $src |
pascal@1605 | 19 perl Makefile.PL |
pascal@1605 | 20 make |
pascal@1605 | 21 make DESTDIR=$PWD/_pkg install |
pascal@1605 | 22 } |
pascal@1605 | 23 |
pascal@1605 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1605 | 25 genpkg_rules() |
pascal@1605 | 26 { |
pascal@1605 | 27 mkdir -p $fs/usr |
pascal@1605 | 28 cp -a $_pkg/usr/lib $fs/usr |
pascal@1605 | 29 } |
pascal@1605 | 30 |