/usr/share/doc/libplplot12/README.pkg-config is in libplplot-dev 5.10.0-0ubuntu5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | README for the pkg-config support for PLplot
--------------------------------------------
The pkg-config system for PLplot has been completely redesigned. We used to
have before two files, plplot.pc.in and plplot-float.pc.in, which were
almost identical. The *.pc were obtained at configure time. Essentially,
only the -lplplot(d) flag was included in the Libs entries of these files.
This works correctly in platforms like Linux, in which the linker program
searches recursively for the dependency libraries.
With the new system, we try to make the pkg-config support for PLplot work
better cross-platform. For that, the whole set of dependency libraries is
included in the Libs entry. This is done by parsing the libtool-generated
*.lai files at install time, thanks to the install-data-hook rule in
Makefile.am.
Another improvement of the new system is that there are now separate
pkg-config files for the different libraries shipped with PLplot. They are:
plplot.pc
plplot-c++.pc
plplot-f95.pc
plplot-tcl.pc
for the single precision case, and:
plplotd.pc
plplotd-c++.pc
plplotd-f95.pc
plplotd-tcl.pc
for the double precision case.
Since these files are quite similar, they are generated by a Bourne shell
script (gen-pc-files.sh) from a boilerplate template (plplot-master-pc). The
template file is obtained during configuration (from plplot-master-pc.in).
In my current system, this is what I obtain now:
$ pkg-config plplotd --libs
-lplplotd -lfreetype -lz -lcsirocsa -lcsironn -lqhull -lm -ldl
$ pkg-config plplotd-c++ --libs
-lplplotcxxd -lplplotd -lfreetype -lz -lcsirocsa -lcsironn -lqhull -ldl
$ pkg-config plplotd-tcl --libs
-lplplottcltkd -lplplotd -lfreetype -lz -lcsirocsa -lcsironn -lqhull -ldl
-ltclmatrixd -litk3.2 -ltk8.4 -litcl3.2 -ltcl8.4 L/usr/X11R6/lib -lX11
-lm
Rafael Laboissiere <rafael@laboissiere.net>
$Id: README 12725 2013-11-20 22:58:00Z airwin $
|