[folks/648811-dummy-backend-rebase1: 4/5] Created pc file for dummy backend.



commit 5717bac78f124071f6d267629270b35d680ed414
Author: Renato Araujo Oliveira Filho <renato filho canonical com>
Date:   Sun Oct 27 19:32:33 2013 -0300

    Created pc file for dummy backend.

 backends/dummy/lib/Makefile.am       |    4 ++++
 backends/dummy/lib/folks-dummy.pc.in |   15 +++++++++++++++
 configure.ac                         |    1 +
 3 files changed, 20 insertions(+), 0 deletions(-)
---
diff --git a/backends/dummy/lib/Makefile.am b/backends/dummy/lib/Makefile.am
index 0255bbb..3d54981 100644
--- a/backends/dummy/lib/Makefile.am
+++ b/backends/dummy/lib/Makefile.am
@@ -22,6 +22,10 @@ folks_dummy_LTLIBRARIES = libfolks-dummy.la
 # Support library
 ##################################################################
 
+pkgconfig_in = folks-dummy.pc.in
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = $(pkgconfig_in:.in=)
+
 libfolks_dummy_la_vala.stamp:
 
 folks_dummy_valasources = \
diff --git a/backends/dummy/lib/folks-dummy.pc.in b/backends/dummy/lib/folks-dummy.pc.in
new file mode 100644
index 0000000..40ab2a1
--- /dev/null
+++ b/backends/dummy/lib/folks-dummy.pc.in
@@ -0,0 +1,15 @@
+prefix= prefix@
+exec_prefix= exec_prefix@
+libdir= libdir@
+bindir= bindir@
+includedir= includedir@
+datarootdir= datarootdir@
+datadir= datadir@
+vapidir= datadir@/vala/vapi
+
+Name: Folks dummy support library
+Description: Dummy support library for the Folks meta-contacts library
+Version: @VERSION@
+Requires: folks glib-2.0 gobject-2.0 gee-0.8
+Libs: -L${libdir} -lfolks-dummy
+Cflags: -I${includedir}
diff --git a/configure.ac b/configure.ac
index 08aa703..c9c23e5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -643,6 +643,7 @@ AC_CONFIG_FILES([
     backends/tracker/lib/folks-tracker-uninstalled.pc
     backends/eds/lib/folks-eds.pc
     backends/eds/lib/folks-eds-uninstalled.pc
+    backends/dummy/lib/folks-dummy.pc
     folks/folks.pc
     folks/folks-uninstalled.pc
     folks/org.freedesktop.folks.gschema.xml


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