diff --git a/System/pkg-config/build b/System/pkg-config/build new file mode 100755 index 0000000..d20f6f9 --- /dev/null +++ b/System/pkg-config/build @@ -0,0 +1,16 @@ +#!/usr/bin/env modbuild + +pbuild::add_to_group 'System' + +pbuild::set_download_url \ + "https://$P.freedesktop.org/releases/$P-$V.tar.gz" \ + '6fc69c01688c9458a57eb9a1664c9aba372ccda420a02bf4429fe610e7e7d591' +pbuild::add_configure_args "--with-internal-glib" +pbuild::install_docfiles 'AUTHORS' 'COPYING' 'NEWS' 'ChangeLog' +pbuild::install_docfiles 'README' 'INSTALL' 'README.win32' + +# Local Variables: +# mode: sh +# sh-basic-offset: 8 +# tab-width: 8 +# End: diff --git a/System/pkg-config/files/variants b/System/pkg-config/files/variants new file mode 100644 index 0000000..6bac774 --- /dev/null +++ b/System/pkg-config/files/variants @@ -0,0 +1 @@ +pkg-config/0.29.2 unstable diff --git a/System/pkg-config/modulefile b/System/pkg-config/modulefile new file mode 100644 index 0000000..e02caf1 --- /dev/null +++ b/System/pkg-config/modulefile @@ -0,0 +1,16 @@ +#%PModule + +module-whatis "helper tool used when compiling applications and libraries" +module-url "https://www.freedesktop.org/wiki/Software/pkg-config/" +module-license "GNU GPL v2" +module-maintainer "Achim Gsell " + +module-help " +pkg-config is a helper tool used when compiling applications and libraries. +It helps you insert the correct compiler options on the command line so an +application can use gcc -o test test.c `pkg-config --libs --cflags glib-2.0` +for instance, rather than hard-coding values on where to find glib (or other +libraries). It is language-agnostic, so it can be used for defining the +location of documentation tools, for instance. +" +