[rygel-grilo] Add pkgconfig .pc file



commit 1418960a7ac22e03dc00212c45a039d030ec2a4a
Author: Juan A. Suarez Romero <jasuarez igalia com>
Date:   Mon May 17 19:33:34 2010 +0200

    Add pkgconfig .pc file

 Makefile.am        |    3 +++
 configure.ac       |    1 +
 mediaserver1.pc.in |   11 +++++++++++
 3 files changed, 15 insertions(+), 0 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index d492549..bf0d687 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -7,6 +7,9 @@
 
 SUBDIRS = lib src data
 
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = mediaserver1.pc
+
 MAINTAINERCLEANFILES = \
         aclocal.m4 \
         compile \
diff --git a/configure.ac b/configure.ac
index 9fe5d3b..c7745a3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -84,6 +84,7 @@ AC_SUBST([sysconfdir])
 
 AC_CONFIG_FILES([
   Makefile
+  mediaserver1.pc
   lib/Makefile
   src/Makefile
   data//Makefile
diff --git a/mediaserver1.pc.in b/mediaserver1.pc.in
new file mode 100644
index 0000000..37fe4b4
--- /dev/null
+++ b/mediaserver1.pc.in
@@ -0,0 +1,11 @@
+prefix= prefix@
+exec_prefix= exec_prefix@
+libdir= libdir@
+includedir= includedir@
+
+Name: MediaServer1
+Description: Helper to write consumers and providers for MediaServer1 specification
+Version: @VERSION@
+Libs: -L${libdir} -lmediaserver1
+Cflags: -I${includedir}
+



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