To determine the compatibility-version, run the command 

  otool -L /sw/lib/libsamplerate.0.dylib

you'll find the answer in the output.

The name "libsamplerate0" is correct, the package looks fine at a brief glance.

These things aren't addressed in the FAQ, which is mainly aimed at problems
experienced by end-users.  It's great that you want to make fink packages:
we need more packagers!  You might get a better response to questions like
this, though, on the fink-devel mailing list.

  -- Dave


Hamish Allan <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> I've been making my first attempts at packaging a shared library. I 
> think I've got most of the basics but I don't know where to get the 
> compatibility-version number for the Shlibs directive. I don't think 
> this is in the FAQ, but maybe my ignorance is more fundamental than 
> that!
> 
> Also, could some kind soul please cast an eye over this and tell me if 
> there is anything obviously wrong with it?
> 
> Package: libsamplerate0
> Version: 0.1.2
> Revision: 1
> Maintainer: Hamish Allan <[EMAIL PROTECTED]>
> HomePage: http://www.mega-nerd.com/SRC/
> License: GPL
> Description: Sample rate converter for audio
> Depends: %N-shlibs (= %v-%r)
> Source: http://www.mega-nerd.com/SRC/libsamplerate-%v.tar.gz
> Source-MD5: 06861c2c6b8e5273c9b80cf736b9fd0e
> DocFiles: AUTHORS COPYING INSTALL NEWS README
> SplitOff: <<
>   Package: %N-shlibs
>   Files: lib/*.*.dylib
>   Shlibs: %p/lib/libsamplerate.0.dylib 0.0.0 %n (>= 0.1.2-1)
>   DocFiles: AUTHORS COPYING INSTALL NEWS README
> <<
> 
> Am I right in calling it libsamplerate0 rather than libsamplerate when 
> no other version exists?
> 
> Many thanks,
> Hamish
> 


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to