diff options
author | Martin Szulecki | 2013-02-10 21:05:54 +0100 |
---|---|---|
committer | Martin Szulecki | 2013-02-10 21:05:54 +0100 |
commit | f4ab86974ecafc3e8637710d9fb4922fcb05d76d (patch) | |
tree | 8b6cfe59de63c38a7fcdb045d1be9e8d72d4a64a | |
parent | d335c79cd9f3c84dd851d250761bcbebc77ec083 (diff) | |
download | libvformat-f4ab86974ecafc3e8637710d9fb4922fcb05d76d.tar.gz libvformat-f4ab86974ecafc3e8637710d9fb4922fcb05d76d.tar.bz2 |
Add pkg-config support
-rw-r--r-- | Makefile.am | 3 | ||||
-rw-r--r-- | configure.ac | 1 | ||||
-rw-r--r-- | libvformat-1.0.pc.in | 12 |
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} + |