summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2013-02-10 21:05:54 +0100
committerGravatar Martin Szulecki2013-02-10 21:05:54 +0100
commitf4ab86974ecafc3e8637710d9fb4922fcb05d76d (patch)
tree8b6cfe59de63c38a7fcdb045d1be9e8d72d4a64a
parentd335c79cd9f3c84dd851d250761bcbebc77ec083 (diff)
downloadlibvformat-f4ab86974ecafc3e8637710d9fb4922fcb05d76d.tar.gz
libvformat-f4ab86974ecafc3e8637710d9fb4922fcb05d76d.tar.bz2
Add pkg-config support
-rw-r--r--Makefile.am3
-rw-r--r--configure.ac1
-rw-r--r--libvformat-1.0.pc.in12
3 files changed, 15 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 21ad378..e5a2721 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,3 +1,4 @@
SUBDIRS = src vformat test $(DOC_SUB)
-
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = libvformat-1.0.pc \ No newline at end of file
diff --git a/configure.ac b/configure.ac
index e7eb13e..06cbed4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -46,6 +46,7 @@ src/Makefile
vformat/Makefile
test/Makefile
doc/Makefile
+libvformat-1.0.pc
])
echo "
diff --git a/libvformat-1.0.pc.in b/libvformat-1.0.pc.in
new file mode 100644
index 0000000..60a4db9
--- /dev/null
+++ b/libvformat-1.0.pc.in
@@ -0,0 +1,12 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: libvformat
+Description: A small, portable library for accessing vformat objects eg VCARD.
+Version: @VERSION@
+Requires:
+Libs: -L${libdir} -llibvformat
+Cflags: -I${includedir}
+