[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: binary and libraries in the same package



On Sun, Jun 06, 2004 at 08:48:17AM +0200, Tommaso Moroni wrote:
> On Sat, Jun 05, 2004 at 08:13:42PM +0100, Andrew Suffield wrote:
> > On Sat, Jun 05, 2004 at 02:31:03PM +0200, Tommaso Moroni wrote:
> > > The program dact (http://www.rkeene.org/files/oss/dact/release/dact-0.8.39.tar.gz)
> > > creates both a binary and a library.
> > > What should I do when packaging this program? Should I package it as a library or 
> > > as a single binary? 
> > 
> > Anything that goes in /usr/lib directly must be in a package on its
> > own.
> 
> The program actually puts two of its libs in /usr/lib as well as in /usr/lib/dact, so
> something like ./configure --libdir=/dev/null in debian/rules is a possible solution, as
> the program uses the libraries in /usr/lib/dact.
> 
> Is there a cleaner way to do it?

No. If you don't need other packages to link against the libraries,
just don't install them into /usr/lib. If you do, they must be in a
package on their own.

-- 
  .''`.  ** Debian GNU/Linux ** | Andrew Suffield
 : :' :  http://www.debian.org/ |
 `. `'                          |
   `-             -><-          |

Attachment: signature.asc
Description: Digital signature


Reply to: