From e233e6ffe51cd459523f5e6764fc5410f42c6175 Mon Sep 17 00:00:00 2001 From: Nate Bargmann Date: Tue, 24 Sep 2013 22:17:48 -0500 Subject: [PATCH] hamlib.pc.in: Changes conformant to pkg-config docs A careful reading of the pkg-config user guide and manual page showed some errors in the format of the generated hamlib.pc file. This patch, hopefully, corrects those errors. --- hamlib.pc.in | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/hamlib.pc.in b/hamlib.pc.in index 1ecc620ce..fdb54182f 100644 --- a/hamlib.pc.in +++ b/hamlib.pc.in @@ -3,10 +3,12 @@ exec_prefix=${prefix} libdir=${exec_prefix}/lib includedir=${prefix}/include -Name: hamlib +Name: @PACKAGE_NAME@ Description: Library to control radio and rotator equipment. URL: @PACKAGE_URL@ -Requires: -Version: @VERSION@ -Libs: -L${libdir} -lhamlib @MATH_LIBS@ +Version: @PACKAGE_VERSION@ +Requires.private: libusb >= 0.1 +Conflicts: libusb >= 1.0 Cflags: -I${includedir} +Libs: -L${libdir} -lhamlib +Libs.private: -lm -ldl -lpthread