pkg-config-lite

Anders F Björklund afb at users.sourceforge.net
Sat Mar 31 07:53:43 PDT 2012


>> That is, making pkg-config self-contained that way most likely goes in
>> a direction opposite the one pkg-config is moving in.
> 
> It is still possible to build pkg-config as self-contained,
> by adding an internal glib-2.0 (plus libiconv and libintl)

> The new pkg-config installation process* a lot harder though,
> so it would be good if that could be documented / simplified ?

I cleaned up the script to do it, if the dependencies are
available in the pkg-config dir (libiconv, gettext, glib):

http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.14.tar.gz
http://ftp.gnu.org/pub/gnu/gettext/gettext-0.18.1.1.tar.gz
http://ftp.gnome.org/pub/gnome/sources/glib/2.28/glib-2.28.7.tar.gz
http://pkgconfig.freedesktop.org/releases/pkg-config-0.26.tar.gz

4.8M	libiconv-1.14.tar.gz
 14M	gettext-0.18.1.1.tar.gz
9.6M	glib-2.28.7.tar.gz
388K	pkg-config-0.26.tar.gz
 29M	total

The build script, to ./configure && make everything:
(remove the versions, from the dependency directories)

http://afb.users.sourceforge.net/pkg-config/build.sh

--anders




More information about the pkg-config mailing list