summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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}
+