[dconf] add pkgconfig file for libdconf



commit 391a6a9cf73ce57eee280d9944722b68480c5380
Author: Ryan Lortie <desrt desrt ca>
Date:   Mon May 24 23:36:56 2010 -0400

    add pkgconfig file for libdconf

 client/Makefile.am |    3 +++
 client/dconf.pc.in |   11 +++++++++++
 configure.ac       |    1 +
 3 files changed, 15 insertions(+), 0 deletions(-)
---
diff --git a/client/Makefile.am b/client/Makefile.am
index 7f98c85..22b9d30 100644
--- a/client/Makefile.am
+++ b/client/Makefile.am
@@ -13,3 +13,6 @@ libdconf_la_SOURCES = \
 	../engine/dconf-engine.c	\
 	../gvdb/gvdb-reader.c		\
 	dconf-client.c
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = dconf.pc
diff --git a/client/dconf.pc.in b/client/dconf.pc.in
new file mode 100644
index 0000000..652c6aa
--- /dev/null
+++ b/client/dconf.pc.in
@@ -0,0 +1,11 @@
+prefix= prefix@
+exec_prefix= exec_prefix@
+libdir= libdir@
+includedir= includedir@
+
+Name: dconf
+Description: dconf client library
+Version: @VERSION@
+Requires: gio-2.0 >= 2.25.7
+Libs: -L${libdir} -ldconf
+Cflags: -I${includedir}/dconf
diff --git a/configure.ac b/configure.ac
index 840ad6f..52da37c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -24,6 +24,7 @@ AC_OUTPUT([
   service/Makefile
   common/Makefile
   engine/Makefile
+  client/dconf.pc
   client/Makefile
   tests/Makefile
   gvdb/Makefile



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]