Subject: pkg-config in addition to .la?

pkg-config in addition to .la?

From: Andreas Schuldei <andreas+cares_at_schuldei.org>
Date: Thu, 26 Jul 2007 22:28:05 +0200

Hi!

i am currently creating a debian package for c-ares (so that we
might be able to have curl libs compiled against c-ares in the
future).

For that it would be swell if c-ares would provide a pkg-config
file in addition to the .la file.

(check out http://en.wikipedia.org/wiki/Pkg-config for some basic
info and an example of an .pc file.)

here is a cares.ps.in file that you could use (not sure this is
entirely correct, this is a first try):

========
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@

Name: c-ares
Description: asyncronous DNS lookup library
Version: @VERSION@
Requires:
Requires.private:
Cflags: -I${includedir}
Libs: -L${libdir} -ldl
=========

/andreas
Received on 2007-07-26