aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Carr <racarr@ender>2009-01-13 06:31:48 -0500
committerRobert Carr <racarr@ender>2009-01-13 06:31:48 -0500
commit35c50459f5f93afcb6fbb3a5a6c158b7f15656eb (patch)
treec2c439169b2c7799d234f100ba37261ade149793
parent245fdda86551e6e598cea84418f3bf0ae40d1fa1 (diff)
downloadlibayatana-indicator-35c50459f5f93afcb6fbb3a5a6c158b7f15656eb.tar.gz
libayatana-indicator-35c50459f5f93afcb6fbb3a5a6c158b7f15656eb.tar.bz2
libayatana-indicator-35c50459f5f93afcb6fbb3a5a6c158b7f15656eb.zip
Add pkgconfig file.
-rw-r--r--configure.ac1
-rw-r--r--libindicate/Makefile.am6
-rw-r--r--libindicate/indicate.pc.in14
3 files changed, 19 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index eeca255..cff6775 100644
--- a/configure.ac
+++ b/configure.ac
@@ -69,6 +69,7 @@ AC_OUTPUT([
Makefile
src/Makefile
libindicate/Makefile
+libindicate/indicate.pc
libindicate/tests/Makefile
data/Makefile
data/icons/Makefile
diff --git a/libindicate/Makefile.am b/libindicate/Makefile.am
index 86ef22a..3dd211d 100644
--- a/libindicate/Makefile.am
+++ b/libindicate/Makefile.am
@@ -1,6 +1,5 @@
-SUBDIRS = \
- tests
+SUBDIRS = tests
INCLUDES= \
-DG_LOG_DOMAIN=\"libindicate\"
@@ -46,3 +45,6 @@ dbus-indicate-server.h: indicate-server.xml
--mode=glib-server \
--output=dbus-indicate-server.h \
$(srcdir)/indicate-server.xml
+
+pkgconfig_DATA = indicate.pc
+pkgconfigdir = $(libdir)/pkgconfig
diff --git a/libindicate/indicate.pc.in b/libindicate/indicate.pc.in
new file mode 100644
index 0000000..cdc79b6
--- /dev/null
+++ b/libindicate/indicate.pc.in
@@ -0,0 +1,14 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+bindir=@bindir@
+includedir=@includedir@
+
+Cflags: -I${includedir}/libindicate-0.1
+Requires: gtk+-2.0 dbus-glib-1
+Libs: -L${libdir} -lindicate
+
+Name: libindicate
+Description: libindicate.
+Version: @VERSION@
+