The software I am trying to port is bsvc (a Motorola 68000 simulator & assembler).
I managed to patch and compile it and I have also started to write .info and .patch files.
Another question is about documentation.
Is "DocFiles:" sufficient to automatically copy documentation files to %i/share/doc/%n?
Is there a way to recursively add the content of a doc folder (with something like doc/*)?
In the install script, you can do something like 'mkdir -p %i/share/doc/%n', followed by 'cp -R doc/ %i/share/doc/%n'.
And finally, I have put .info and .patch files in /sw/fink/dists/local/main to test them. But "fink install" tells me "Failed: no package found for specification 'bsvc'!"
II run "fink scanpackages" but It does not change anything...
How to manually add a package to test it? (I would like to test the whole procedure, downloading sources included)
Like Martin pointed out, they go in /sw/fink/dists/local/main/finkinfo/.
Here is the .info file, can you tell me if something is wrong or missing?
## Package information Package: bsvc Version: 2.1 Revision: 1 Description: Motorola 68000 simulator & assembler License: Restrictive/Distributable Maintainer: Pierre Mazoyer <[EMAIL PROTECTED]>
## Dependencies Depends: tcltk (>= 8.0), tcltk-dev (>= 8.0), tcltk-shlibs (>= 8.0)
-dev packages are normally BuildDepends, rather than depends.
Also, check through the configure readout for possible use of fink packages. Do a '.configure --help' to look for possible use of fink packages. For example, if there is an option --with-qt, you either have to use --with-qt and depend on qt, or use --without qt. Finally, when you are done, do 'otool -L 68kasm' to look for lib linkages, any in /sw generally mean a fink dep and builddep.
## Unpack Phase Source: ftp://ftp.redlinelabs.com/pub/bsvc/%n-%v-src.tar.gz Source-MD5: d6ea564a0fc73fe96a16b503c811d865
## Patch Phase Patch: %f.patch
We've been switching to %n.patch. .info files are now called bsvc.info. .patch files are now called .bsvc.patch.
And don't forget to page through your .patch to make sure it is correct. Good luck.
James
------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
