summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2015-01-29 00:02:46 +0100
committerGravatar Martin Szulecki2015-01-29 00:02:46 +0100
commit6f8cfb23d03787cae2f834a8979b4545dc0fe063 (patch)
treeff73ce4287afe83a8d760d7e59db29c8451a68fd
parent163721f1eed2921ae07f32c0291ea2541a220964 (diff)
downloadlibplist-6f8cfb23d03787cae2f834a8979b4545dc0fe063.tar.gz
libplist-6f8cfb23d03787cae2f834a8979b4545dc0fe063.tar.bz2
Improve maintainability and Requires of pkg-config files slightly
-rw-r--r--libplist++.pc.in9
-rw-r--r--libplist.pc.in7
2 files changed, 7 insertions, 9 deletions
diff --git a/libplist++.pc.in b/libplist++.pc.in
index 2132a8d..cea869c 100644
--- a/libplist++.pc.in
+++ b/libplist++.pc.in
@@ -3,10 +3,9 @@ exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
-Name: libplist++
-Description: C++ binding of libplist
-Version: @VERSION@
-Requires: libplist >= @VERSION@
+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/libplist.pc.in b/libplist.pc.in
index d922c19..fc97247 100644
--- a/libplist.pc.in
+++ b/libplist.pc.in
@@ -3,10 +3,9 @@ exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
-Name: libplist
+Name: @PACKAGE_NAME@
Description: A library to handle Apple Property Lists whereas they are binary or XML
-Version: @VERSION@
-Requires.private: libxml-2.0 >= @LIBXML2_VERSION@
+Version: @PACKAGE_VERSION@
Libs: -L${libdir} -lplist
Cflags: -I${includedir}
-
+Requires.private: libxml-2.0 >= @LIBXML2_VERSION@