[couchdb-glib] Added pkgconfig stuff
- From: Rodrigo Moya <rodrigo src gnome org>
- To: svn-commits-list gnome org
- Subject: [couchdb-glib] Added pkgconfig stuff
- Date: Thu, 11 Jun 2009 07:39:23 -0400 (EDT)
commit f451ad8b5e869d4bc0f1d113135f089ff8f06cd3
Author: Rodrigo Moya <rodrigo gnome-db org>
Date: Thu Jun 11 13:38:34 2009 +0200
Added pkgconfig stuff
---
Makefile.am | 15 +++++++++++++++
configure.ac | 1 +
couchdb-glib.pc.in | 11 +++++++++++
3 files changed, 27 insertions(+), 0 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 580ba5b..03bceae 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1 +1,16 @@
SUBDIRS = couchdb-glib tests
+
+pcfiles = couchdb-glib-1.0.pc
+
+couchdb-glib-1.0.pc: couchdb-glib.pc
+ @cp -f $< $@
+
+pkgconfig_DATA = $(pcfiles)
+pkgconfigdir = $(libdir)/pkgconfig
+
+EXTRA_DIST = couchdb-glib.pc.in
+
+dist-hook:
+ git-log --stat > ChangeLog.in && \
+ cp -f ChangeLog.in $(distdir)/ChangeLog && \
+ rm -f ChangeLog.in
diff --git a/configure.ac b/configure.ac
index fd3e400..2b8cd51 100644
--- a/configure.ac
+++ b/configure.ac
@@ -21,6 +21,7 @@ AC_SUBST(COUCHDB_GLIB_LIBS)
AC_OUTPUT([
Makefile
+couchdb-glib.pc
couchdb-glib/Makefile
tests/Makefile
])
diff --git a/couchdb-glib.pc.in b/couchdb-glib.pc.in
new file mode 100644
index 0000000..97748a8
--- /dev/null
+++ b/couchdb-glib.pc.in
@@ -0,0 +1,11 @@
+prefix= prefix@
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${exec_prefix}/include
+
+Name: CouchDB-GLib
+Description: GLib-based API for CouchDB databases
+Version: @VERSION@
+Libs: -L${libdir} -lcouchdb-glib-1.0
+Cflags: -I${includedir}/couchdb-glib
+Requires: gobject-2.0
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]