summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2015-01-29 00:05:40 +0100
committerGravatar Martin Szulecki2015-01-29 00:05:40 +0100
commit801a72a39b9a41ab0d3aa018a740d1a813b5420c (patch)
treef53673288374ae51ff047df60b681f2f7b4213bd /src
parent6f8cfb23d03787cae2f834a8979b4545dc0fe063 (diff)
downloadlibplist-801a72a39b9a41ab0d3aa018a740d1a813b5420c.tar.gz
libplist-801a72a39b9a41ab0d3aa018a740d1a813b5420c.tar.bz2
Move pkg-config file into src directory
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am3
-rw-r--r--src/libplist++.pc.in11
-rw-r--r--src/libplist.pc.in11
3 files changed, 25 insertions, 0 deletions
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@