aboutsummaryrefslogtreecommitdiffstats
path: root/wireshark.pc.in
diff options
context:
space:
mode:
authorMichal Privoznik <miso.privoznik@gmail.com>2015-12-26 17:13:00 +0100
committerAnders Broman <a.broman58@gmail.com>2016-01-04 08:15:29 +0000
commitea16a84ef51b0e50a40789adcfbe71b6f3c60ed1 (patch)
treebd7c2d133ae2b067aae7903ed9cd250e6b4d109a /wireshark.pc.in
parentfc13bf5361105188509b2bbc848be5a3f8214a56 (diff)
Generate better pkg-config file
Firstly, when building with autogen.sh and configure script, the wireshark.pc is not generated at all. Then, due to not matching names some variables are not being replaced as they should be. Bug: 11069 Change-Id: Iefa7a9b536f3fee7f9ad78803aaacc5bb64a9c8d Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-on: https://code.wireshark.org/review/13005 Reviewed-by: João Valverde <j@v6e.pt> Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'wireshark.pc.in')
-rw-r--r--wireshark.pc.in22
1 files changed, 11 insertions, 11 deletions
diff --git a/wireshark.pc.in b/wireshark.pc.in
index 826b230577..588917812b 100644
--- a/wireshark.pc.in
+++ b/wireshark.pc.in
@@ -1,14 +1,14 @@
-prefix=@CMAKE_INSTALL_PREFIX@
-exec_prefix=${prefix}
-libdir=@ABSOLUTE_CMAKE_INSTALL_LIBDIR@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
sharedlibdir=${libdir}
-includedir=${prefix}/include/wireshark
-plugindir=@PLUGIN_INSTALL_DIR@
+plugindir=@plugindir@
-Name: wireshark
-Description: wireshark network packet dissection library
-Version: @PROJECT_VERSION@
+Name: Wireshark
+Description: Network Packet Dissection Library
+Version: @VERSION@
-Requires:
-Libs: -L${libdir} -L${sharedlibdir} -lwireshark
-Cflags: -I${includedir}
+Requires: glib-2.0, gmodule-2.0, gthread-2.0
+Libs: -L${libdir} -lwireshark
+Cflags: -I${includedir}/wireshark