From 801a72a39b9a41ab0d3aa018a740d1a813b5420c Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Thu, 29 Jan 2015 00:05:40 +0100 Subject: Move pkg-config file into src directory --- src/Makefile.am | 3 +++ src/libplist++.pc.in | 11 +++++++++++ src/libplist.pc.in | 11 +++++++++++ 3 files changed, 25 insertions(+) create mode 100644 src/libplist++.pc.in create mode 100644 src/libplist.pc.in (limited to 'src') diff --git a/src/Makefile.am b/src/Makefile.am index 0a16b24..83b975c 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -45,3 +45,6 @@ if WIN32 libplist_la_LDFLAGS += -avoid-version libplist___la_LDFLAGS += -avoid-version endif + +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = libplist.pc libplist++.pc diff --git a/src/libplist++.pc.in b/src/libplist++.pc.in new file mode 100644 index 0000000..cea869c --- /dev/null +++ b/src/libplist++.pc.in @@ -0,0 +1,11 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: @PACKAGE_NAME@++ +Description: C++ binding for @PACKAGE_NAME@ +Version: @PACKAGE_VERSION@ +Libs: -L${libdir} -lplist++ +Cflags: -I${includedir} +Requires: libplist >= @PACKAGE_VERSION@ diff --git a/src/libplist.pc.in b/src/libplist.pc.in new file mode 100644 index 0000000..fc97247 --- /dev/null +++ b/src/libplist.pc.in @@ -0,0 +1,11 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: @PACKAGE_NAME@ +Description: A library to handle Apple Property Lists whereas they are binary or XML +Version: @PACKAGE_VERSION@ +Libs: -L${libdir} -lplist +Cflags: -I${includedir} +Requires.private: libxml-2.0 >= @LIBXML2_VERSION@ -- cgit v1.1-32-gdbae