[Xfce4-commits] <xfce4-mm:master> Install pkg-config file for libxfce4util-mm library.
Jens Luedicke
noreply at xfce.org
Mon Jan 17 01:18:03 CET 2011
Updating branch refs/heads/master
to 7ef624f56e82b07867748a6d9f321d84b61e7b13 (commit)
from ec5d5ada3f2b08ea1a700c288070cdea0a26851f (commit)
commit 7ef624f56e82b07867748a6d9f321d84b61e7b13
Author: Jens Luedicke <jens at linux-vq8x.site>
Date: Sun Jan 16 22:28:44 2011 +0100
Install pkg-config file for libxfce4util-mm library.
libxfce4util-mm/CMakeLists.txt | 3 +++
libxfce4util-mm/libxfce4util-mm-1.0.pc.in | 8 ++++----
2 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/libxfce4util-mm/CMakeLists.txt b/libxfce4util-mm/CMakeLists.txt
index 941c802..e0d3217 100644
--- a/libxfce4util-mm/CMakeLists.txt
+++ b/libxfce4util-mm/CMakeLists.txt
@@ -19,3 +19,6 @@ install (FILES "${libxfce4util-mm_SOURCE_DIR}/rc.h" DESTINATION "include/libxfce
install (FILES "${libxfce4util-mm_SOURCE_DIR}/resource-enum.h" DESTINATION "include/libxfce4util-mm")
install (FILES "${libxfce4util-mm_SOURCE_DIR}/resource.h" DESTINATION "include/libxfce4util-mm")
install (FILES "${libxfce4util-mm_SOURCE_DIR}/utf8-utils.h" DESTINATION "include/libxfce4util-mm")
+
+configure_file(${libxfce4util-mm_SOURCE_DIR}/libxfce4util-mm-1.0.pc.in ${libxfce4util-mm_BINARY_DIR}/libxfce4util-mm-1.0.pc @ONLY)
+install(FILES ${libxfce4util-mm_BINARY_DIR}/libxfce4util-mm-1.0.pc DESTINATION lib/pkgconfig)
diff --git a/libxfce4util-mm/libxfce4util-mm-1.0.pc.in b/libxfce4util-mm/libxfce4util-mm-1.0.pc.in
index bc3cc61..265053b 100644
--- a/libxfce4util-mm/libxfce4util-mm-1.0.pc.in
+++ b/libxfce4util-mm/libxfce4util-mm-1.0.pc.in
@@ -1,11 +1,11 @@
prefix=@prefix@
-exec_prefix=@exec_prefix@
-libdir=@libdir@
-includedir=@includedir@
+exec_prefix=@CMAKE_INSTALL_PREFIX@/bin
+libdir=@CMAKE_INSTALL_PREFIX@/lib
+includedir=@CMAKE_INSTALL_PREFIX@/include
Name: libxfce4util-mm
Description: C++ wrapper library for libxfce4util
-Requires: glibmm-2.4
+Requires: libxfce4util-1.0
Version: @VERSION@
Libs: -L${libdir} -lxfce4util-mm
Cflags: -I${includedir}/xfce4/libxfce4util-mm
More information about the Xfce4-commits
mailing list