Daniel Henninger wrote:

Folk,

I'm having troubles figuring out how to set up a fink package exactly. I'm quite familiar with RPMs and fink's package files definitely seem
similar, but what I'm not sure of is how to test-build a package outside
of the tree... or is that not possible? I'm getting the impression that
all source files must be downloadable, while patch can piggy-back with the
info file? I put together jwgc.info and validated it. Now I'm not real
sure what to do with it to make it actually create the package. If I were
to wager a guess, I'd say I need to put it in the /sw/fink/dists directory
tree somewhere and run fink build on it. Could anyone run me through a
quick procedure for how they might add a new package? (ie, step 1, i
create the .info file in /sw/fink/dists/local/whatever, step 2 validate
it, step 3 build it and make sure it works, step 4, submit the info file
to a list) ?? Thanks, sorry for the confusion.

Sure, here we go:
1) put the file in /sw/fink/dists/local/main/finkinfo (create this dir if necessary).
2) fink validate jwgc.info
3) you may have to run `fink index` here first, but try `fink -Kk build jwgc`
Your source file does not have to be downloadable at this time, just put the tarball in /sw/src.
After the build look at /sw/src/jwgc-%n-%v and /sw/src/root-jwgc-%n-%v and make sure that it build properly and all the files that were installed made it into the .deb file. Check for them in the roo- directory.


If you need more help, I suggest getting immediate responses on irc.freenode.net #fink.

Peter
--
Peter O'Gorman - http://www.pogma.com


------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to