[tracker/libtracker-sparql: 49/55] libtracker-sparql: Added pkg-config stuff for the new library



commit de2feb3423309a759c30b2c3bb6fe7bbd552452c
Author: Aleksander Morgado <aleksander lanedo com>
Date:   Wed Aug 4 12:44:04 2010 +0200

    libtracker-sparql: Added pkg-config stuff for the new library

 configure.ac              |    1 +
 data/Makefile.am          |    5 +++++
 data/tracker-sparql.pc.in |   13 +++++++++++++
 3 files changed, 19 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index e34b1c6..72c60ff 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1844,6 +1844,7 @@ AC_CONFIG_FILES([
 	data/Makefile
 	data/miners/Makefile
 	data/ontologies/Makefile
+	data/tracker-sparql.pc
 	data/tracker-client.pc
 	data/tracker-extract.pc
 	data/tracker-miner.pc
diff --git a/data/Makefile.am b/data/Makefile.am
index fc47ed2..734d1f2 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -61,10 +61,14 @@ endif
 # Set up pkg-config .pc files for exported libraries
 pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = 					\
+	tracker-sparql-$(TRACKER_API_VERSION).pc	\
 	tracker-client-$(TRACKER_API_VERSION).pc	\
 	tracker-extract-$(TRACKER_API_VERSION).pc	\
 	tracker-miner-$(TRACKER_API_VERSION).pc
 
+tracker-sparql-$(TRACKER_API_VERSION).pc: tracker-sparql.pc
+	cp $< $@
+
 tracker-client-$(TRACKER_API_VERSION).pc: tracker-client.pc
 	cp $< $@
 
@@ -77,6 +81,7 @@ tracker-miner-$(TRACKER_API_VERSION).pc: tracker-miner.pc
 CLEANFILES = 						\
 	$(autostart_DATA) 				\
 	$(desktop_in_files)				\
+	tracker-sparql-$(TRACKER_API_VERSION).pc	\
 	tracker-client-$(TRACKER_API_VERSION).pc	\
 	tracker-extract-$(TRACKER_API_VERSION).pc	\
 	tracker-miner-$(TRACKER_API_VERSION).pc
diff --git a/data/tracker-sparql.pc.in b/data/tracker-sparql.pc.in
new file mode 100644
index 0000000..e978983
--- /dev/null
+++ b/data/tracker-sparql.pc.in
@@ -0,0 +1,13 @@
+prefix= prefix@
+exec_prefix= exec_prefix@
+libdir= libdir@
+includedir= includedir@
+
+Name: tracker-sparql
+Description: Tracker : A library to perform SPARQL queries and updates in the
+             Tracker Store
+Version: @VERSION@
+Requires: glib-2.0 gobject-2.0 gio-2.0 gmodule-2.0
+Libs: -L${libdir} -ltracker-sparql- TRACKER_API_VERSION@
+Cflags: -I${includedir}/tracker- TRACKER_API_VERSION@ -I${includedir}/tracker- TRACKER_API_VERSION@/libtracker-sparql
+



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