From 3f5e9fbb2b526842ee422eaba7490ebe4cf1ea71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Mon, 5 Aug 2013 16:38:51 +0200 Subject: add k8055++.pc --- libk8055/CMakeLists.txt | 2 ++ libk8055/k8055++.pc.in | 10 ++++++++++ libk8055/k8055.pc.in | 2 +- 3 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 libk8055/k8055++.pc.in diff --git a/libk8055/CMakeLists.txt b/libk8055/CMakeLists.txt index 708ee96..7110bc4 100644 --- a/libk8055/CMakeLists.txt +++ b/libk8055/CMakeLists.txt @@ -42,9 +42,11 @@ TARGET_LINK_LIBRARIES(k8055cmd ADD_DEPENDENCIES(k8055cmd k8055) CONFIGURE_FILE(k8055.pc.in k8055.pc @ONLY) +CONFIGURE_FILE(k8055++.pc.in k8055++.pc @ONLY) INSTALL(TARGETS k8055cmd RUNTIME DESTINATION bin BUNDLE DESTINATION bin ) INSTALL(FILES k8055cmd.1.gz DESTINATION man/man1/ ) INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/k8055.pc DESTINATION lib/pkgconfig ) +INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/k8055++.pc DESTINATION lib/pkgconfig ) diff --git a/libk8055/k8055++.pc.in b/libk8055/k8055++.pc.in new file mode 100644 index 0000000..faa5f3d --- /dev/null +++ b/libk8055/k8055++.pc.in @@ -0,0 +1,10 @@ +prefix=@CMAKE_INSTALL_PREFIX@ +exec_prefix=${prefix} +libdir=${exec_prefix}/lib +includedir=${prefix}/include + +Name: k8055++ +Description: Velleman k8055 USB Experiment Interface Board C++ interface +Version: @VERSION@ +Libs: -L${libdir} -lk8055++ +Cflags: -I${includedir} diff --git a/libk8055/k8055.pc.in b/libk8055/k8055.pc.in index 5c5ce08..e2dfcf5 100644 --- a/libk8055/k8055.pc.in +++ b/libk8055/k8055.pc.in @@ -4,7 +4,7 @@ libdir=${exec_prefix}/lib includedir=${prefix}/include Name: k8055 -Description: Velleman k8055 USB Experiment Interface Board driver +Description: Velleman k8055 USB Experiment Interface Board interface Version: @VERSION@ Libs: -L${libdir} -lk8055 Cflags: -I${includedir} -- cgit v1.1-2-g2b99