summaryrefslogtreecommitdiff
path: root/dbus-1
diff options
context:
space:
mode:
authorRyan Lortie <desrt@desrt.ca>2011-01-02 23:48:45 -0500
committerRyan Lortie <desrt@desrt.ca>2011-01-02 23:58:08 -0500
commitb1c7451f280256584a29efd648e9f08fdf7dde51 (patch)
tree4fc7893b2e12b71a2eb61ba91235ee20152b55d1 /dbus-1
parent592b62ef9c6ba5516f9c6e515e62ffd8d18c5ff0 (diff)
downloaddconf-b1c7451f280256584a29efd648e9f08fdf7dde51.tar.gz
dbus-1: install pkgconfig
Diffstat (limited to 'dbus-1')
-rw-r--r--dbus-1/.gitignore1
-rw-r--r--dbus-1/Makefile.am6
-rw-r--r--dbus-1/dconf-dbus-1.pc.in11
3 files changed, 18 insertions, 0 deletions
diff --git a/dbus-1/.gitignore b/dbus-1/.gitignore
index 3ea6490..32072d0 100644
--- a/dbus-1/.gitignore
+++ b/dbus-1/.gitignore
@@ -1,3 +1,4 @@
libdconf-dbus-1.so
libdconf-dbus-1.so.0
libdconf-dbus-1.so.0.0.0
+dconf-dbus-1.pc
diff --git a/dbus-1/Makefile.am b/dbus-1/Makefile.am
index cb5beef..f46faa7 100644
--- a/dbus-1/Makefile.am
+++ b/dbus-1/Makefile.am
@@ -1,6 +1,12 @@
AM_CFLAGS = -std=c89 -Wall -Wmissing-prototypes -Wwrite-strings -fPIC -DPIC
INCLUDES = -I$(top_srcdir)/common -I$(top_srcdir)/gvdb -I$(top_srcdir)/engine $(dbus_CFLAGS) $(glib_CFLAGS)
+dconf_dbus_1includedir = $(includedir)/dconf-dbus-1
+dconf_dbus_1include_HEADERS = dconf-dbus-1.h
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = dconf-dbus-1.pc
+
shlibdir = $(libdir)
shlib_PROGRAMS = libdconf-dbus-1.so.0.0.0
diff --git a/dbus-1/dconf-dbus-1.pc.in b/dbus-1/dconf-dbus-1.pc.in
new file mode 100644
index 0000000..c4c3380
--- /dev/null
+++ b/dbus-1/dconf-dbus-1.pc.in
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: dconf-dbus-1
+Description: dconf client library for libdbus-1
+Version: @VERSION@
+Requires: dbus-1, glib-2.0
+Libs: -L${libdir} -ldconf-dbus-1
+Cflags: -I${includedir}/dconf-dbus-1