From b1c7451f280256584a29efd648e9f08fdf7dde51 Mon Sep 17 00:00:00 2001 From: Ryan Lortie Date: Sun, 2 Jan 2011 23:48:45 -0500 Subject: dbus-1: install pkgconfig --- configure.ac | 1 + dbus-1/.gitignore | 1 + dbus-1/Makefile.am | 6 ++++++ dbus-1/dconf-dbus-1.pc.in | 11 +++++++++++ 4 files changed, 19 insertions(+) create mode 100644 dbus-1/dconf-dbus-1.pc.in diff --git a/configure.ac b/configure.ac index 61a045d..9ed639f 100644 --- a/configure.ac +++ b/configure.ac @@ -53,6 +53,7 @@ AC_CONFIG_FILES([ gvdb/Makefile engine/Makefile gsettings/Makefile + dbus-1/dconf-dbus-1.pc client/dconf.pc client/Makefile service/Makefile 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 -- cgit v1.2.1