summaryrefslogtreecommitdiffstats
path: root/plugins/dexela/CMakeLists.txt
diff options
context:
space:
mode:
authorMihael Koep <koep@schneide.com>2013-03-14 16:51:37 +0100
committerMihael Koep <koep@schneide.com>2013-03-14 16:51:37 +0100
commitbc7527f2e2c22a0f27c73a4086fe51d12504c826 (patch)
treefcc088638d79139eebbe007c2dfcfcfed60c7034 /plugins/dexela/CMakeLists.txt
parent1cc9d414e3cc823e9acfdb4c93114e10db42be50 (diff)
downloadlibuca-bc7527f2e2c22a0f27c73a4086fe51d12504c826.tar.gz
libuca-bc7527f2e2c22a0f27c73a4086fe51d12504c826.tar.bz2
libuca-bc7527f2e2c22a0f27c73a4086fe51d12504c826.tar.xz
libuca-bc7527f2e2c22a0f27c73a4086fe51d12504c826.zip
Cleanup of dexela plugin build file and package-plugin.sh.in to include sensible metadata information.
Diffstat (limited to 'plugins/dexela/CMakeLists.txt')
-rw-r--r--plugins/dexela/CMakeLists.txt18
1 files changed, 6 insertions, 12 deletions
diff --git a/plugins/dexela/CMakeLists.txt b/plugins/dexela/CMakeLists.txt
index 60350cf..d98644c 100644
--- a/plugins/dexela/CMakeLists.txt
+++ b/plugins/dexela/CMakeLists.txt
@@ -6,19 +6,16 @@ find_package(DEXELA)
if (DEXELA_FOUND)
set(UCA_CAMERA_NAME "dexela")
- set(PLUGIN_REVISION "2")
+ set(PLUGIN_REVISION "3")
set(PLUGIN_VERSION "1.0.0")
+ set(PLUGIN_SUMMARY "Dexela plugin for libuca")
set(PLUGIN_CHANGELOG "${CMAKE_CURRENT_SOURCE_DIR}/changelog.txt")
+ set(PLUGIN_DESCRIPTION "Plugin for the Dexela 1207 detector.")
set(PLUGIN_REQUIRES "libuca = 1.1.0, libdexela >= 0.9.2")
- set(PLUGIN_SPECIFIC_FLAGS
- "-D CPACK_PACKAGE_NAME=\"uca-plugin-dexela\" -D CPACK_PACKAGE_VERSION=\"${PLUGIN_VERSION}\" -D CPACK_RPM_PACKAGE_RELEASE=\"${PLUGIN_REVISION}\" -D CPACK_RPM_CHANGELOG_FILE=${PLUGIN_CHANGELOG} -D CPACK_RPM_PACKAGE_REQUIRES=${PLUGIN_REQUIRES}")
- set(CPACK_PACKAGE_VERSION ${VERSION})
set(CPACK_GENERATOR "RPM")
set(CPACK_PACKAGE_NAME "uca-plugin-dexela")
- set(CPACK_PACKAGE_RELEASE 1)
- set(CPACK_PACKAGE_CONTACT "Mihael Koep")
- set(CPACK_PACKAGE_VENDOR "ANKA Computing Group")
+ set(PLUGIN_VENDOR "ANKA Computing Group")
set(CPACK_PACKAGING_INSTALL_PREFIX ${CMAKE_INSTALL_PREFIX})
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/../package-plugin.sh.in
@@ -26,12 +23,9 @@ if (DEXELA_FOUND)
include_directories(${DEXELA_INCLUDE_DIRS})
- add_library(ucadexela SHARED
- uca-dexela-camera.c)
+ add_library(ucadexela SHARED uca-dexela-camera.c)
- target_link_libraries(ucadexela
- ${UCA_DEPS}
- ${DEXELA_LIBRARIES})
+ target_link_libraries(ucadexela ${UCA_DEPS} ${DEXELA_LIBRARIES})
install(TARGETS ucadexela
LIBRARY DESTINATION ${LIB_INSTALL_DIR}/uca