From 6f8cfb23d03787cae2f834a8979b4545dc0fe063 Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Thu, 29 Jan 2015 00:02:46 +0100 Subject: Improve maintainability and Requires of pkg-config files slightly --- libplist++.pc.in | 9 ++++----- libplist.pc.in | 7 +++---- 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@ -- cgit v1.1-32-gdbae