wok-stable annotate perl-preadsheet-parseexcel/receipt @ rev 2061
kqemu: ensure to use the right linux version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jan 22 17:37:19 2009 +0000 (2009-01-22) |
parents | |
children |
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 |