ITP: pkgconfig

Charles Wilson cwilson@ece.gatech.edu
Fri Feb 22 23:21:00 GMT 2002


I've got pkgconfig ready for contribution to the cygwin distribution. 
Since we're starting to get a few packages that include .pc files 
(libxslt, libxml-2.0) we probably ought to have this. I've got version 
0.10.0 (released 2002-02-02) ready to.

I think it should go in latest/pkgconfig/ alongside the autotools (and 
not contrib).

Votes?

--Chuck

setup.hint:
---------------------------------------------------
category Devel
requires cygwin
sdesc "A utility used to retrieve information about installed libraries" 
ldesc "The pkg-config program is used to retrieve information about 
installed libraries in the system. It is typically used to compile and 
link against one or more libraries.

pkg-config retrieves information about packages from special metadata 
files. These files are named after the package, with the extension .pc. 
By default, pkg-config looks in the following directories: 
${PREFIX}/libdata/pkgconfig, ${LOCALBASE}/libdata/pkgconfig and 
${X11BASE}/libdata/pkgconfig for these files; it will also look in the 
list of directories specified by the PKG_CONFIG_PATH environment variable.

The package name specified on the pkg-config command line is defined to 
be the name of the metadata file, minus the .pc extension. If a library 
can install multiple versions simultaneously, it must give each version 
its own name (for example, GTK 1.2 might have the package name 'gtk+' 
while GTK 2.0 has 'gtk+-2.0').

WWW: http://www.freedesktop.org/software/pkgconfig/
http://pkgconfig.sourceforge.net"
---------------------------------------------------



More information about the Cygwin-apps mailing list