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