aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lord <chris@openedhand.com>2008-02-07 14:41:41 +0000
committerChris Lord <chris@openedhand.com>2008-02-07 14:41:41 +0000
commit4238ec69cb5c23f5d6b24204cf72198efe00cab4 (patch)
treea8512936784ab98ead5ebfd60c8cbf64f911257f
parentbfa12388717ff4d1a8b2224519f5117f12fc4857 (diff)
downloadlibowl-4238ec69cb5c23f5d6b24204cf72198efe00cab4.tar.gz
libowl-4238ec69cb5c23f5d6b24204cf72198efe00cab4.tar.bz2
libowl-4238ec69cb5c23f5d6b24204cf72198efe00cab4.zip
Add pkgconfig file
-rw-r--r--configure.ac1
-rw-r--r--libowl/Makefile.am4
-rw-r--r--libowl/libowl.pc.in12
3 files changed, 17 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index ed43618..2346eed 100644
--- a/configure.ac
+++ b/configure.ac
@@ -13,5 +13,6 @@ AC_SUBST(GTK_LIBS)
AC_OUTPUT([
Makefile
libowl/Makefile
+libowl/libowl.pc
tests/Makefile
])
diff --git a/libowl/Makefile.am b/libowl/Makefile.am
index 04372d3..4a8ce0b 100644
--- a/libowl/Makefile.am
+++ b/libowl/Makefile.am
@@ -23,3 +23,7 @@ libowl_la_SOURCES = \
libowl_la_CPPFLAGS = $(GTK_CFLAGS) -Wall
libowl_la_LIBADD = $(GTK_LIBS)
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = libowl.pc
+
diff --git a/libowl/libowl.pc.in b/libowl/libowl.pc.in
new file mode 100644
index 0000000..281ac38
--- /dev/null
+++ b/libowl/libowl.pc.in
@@ -0,0 +1,12 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: libowl
+Description: OpenedHand Widgets Library
+Requires: gobject-2.0
+Version: @VERSION@
+Libs: -L${libdir} -lowl
+Cflags: -I${includedir}/libowl
+