On Jan 19, 2005, at 11:43 AM, Blair Zajac wrote:
Manuel Hendel wrote:Shell I just add a line to the description which says that you have to install Date::Calc via cpan?
mhe
I would just take the time out to make a Dalc::Calc Fink module.
You will need to also create a package for Bit::Vector, and since Bit::Vector builds a shared library, you'll need to use an Info2 .info format to handle different Perl versions. And because Date::Calc depends upon Bit::Vector, Date::Calc will also need to be an Info2 .info format with package names like data-calc-pm581.
A good package to look at is test-data-pm.info, which has a similar dependency on a Perl package with a shared library.
Here's a first cut at date-calc-pm.info. I've run out of time to do the rest (i.e. create carp-clan-pm.info and bit-vector-pm.info) but those others should be easier because they don't need the %type_pkg[perl] since they don't have XS modules. If someone takes over my initial effort, please email me, and (of course) change the Maintainer line.
Chris
Info2: << Package: date-calc-pm%type_pkg[perl] Version: 5.4 Revision: 1 Type: perl (5.8.0 5.8.1 5.8.4) Description: Gregorian calendar date calculations License: Artistic Maintainer: Chris Dolan <[EMAIL PROTECTED]> Homepage: http://search.cpan.org/dist/Date-Calc
Depends: perl%type_pkg[perl]-core, carp-clan-pm, bit-vector-pm
Source: mirror:cpan:authors/id/S/ST/STBEY/Date-Calc-%v.tgz Source-MD5: 7ae34972694127e8f1c9a2af1c24585b
UpdatePOD: true DocFiles: Artistic.txt CHANGES.txt CREDITS.txt MANIFEST README.txt
Splitoff: << Package: %N-man Depends: %N (= %v-%r) Conflicts: %{Ni}580-man, %{Ni}581-man, %{Ni}584-man Replaces: %{Ni}580-man, %{Ni}581-man, %{Ni}584-man Files: share/man DocFiles: Artistic.txt CHANGES.txt CREDITS.txt MANIFEST README.txt << <<
-- Chris Dolan, Software Developer, Clotho Advanced Media Inc. 608-294-7900, fax 294-7025, 1435 E Main St, Madison WI 53703
Clotho Advanced Media, Inc. - Creators of MediaLandscape Software (http://www.media-landscape.com/) and partners in the revolutionary Croquet project (http://www.opencroquet.org/)
PGP.sig
Description: This is a digitally signed message part