diff options
author | Mihael Koep <koep@schneide.com> | 2013-03-05 18:24:49 +0100 |
---|---|---|
committer | Mihael Koep <koep@schneide.com> | 2013-03-05 18:24:49 +0100 |
commit | 1649082dabef075d6c3ffaf5c46d9bb46c87e744 (patch) | |
tree | 4e0fde1717014e6b8691f32c86322e90c89dc9fa /CMakeLists.txt | |
parent | 2033c6fa7a849ff551bab73e6fe6a985655ddbf0 (diff) | |
download | libuca-1649082dabef075d6c3ffaf5c46d9bb46c87e744.tar.gz libuca-1649082dabef075d6c3ffaf5c46d9bb46c87e744.tar.bz2 libuca-1649082dabef075d6c3ffaf5c46d9bb46c87e744.tar.xz libuca-1649082dabef075d6c3ffaf5c46d9bb46c87e744.zip |
Trying to improve dexela plugin packaging.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 299cec2..443f33c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,19 +10,20 @@ set(UCA_DESCRIPTION "Unified Camera Access") set(UCA_VERSION_STRING "${UCA_VERSION_MAJOR}.${UCA_VERSION_MINOR}.${UCA_VERSION_PATCH}") set(UCA_ABI_VERSION "${UCA_VERSION_MAJOR}.${UCA_VERSION_MINOR}") -set(PACKAGE_VERSION "${UCA_VERSION_STRING}") -set(PACKAGE_NAME "${TARNAME}") +set(CPACK_PACKAGE_VERSION "${UCA_VERSION_STRING}") +set(CPACK_PACKAGE_NAME "${TARNAME}") set(PACKAGE_TARNAME "${TARNAME}") set(PACKAGE_STRING "${PACKAGE_NAME} ${PACKAGE_VERSION}") set(PACKAGE_BUGREPORT "http://ufo.kit.edu/ufo/newticket") -set(CPACK_GENERATOR "RPM") +set(CPACK_GENERATOR "DEB;RPM") set(CPACK_PACKAGE_RELEASE 3) -set(CPACK_DEBIAN_PACKAGE_NAME "libuca") +set(CPACK_RPM_PACKAGE_RELEASE 3) +set(CPACK_DEBIAN_PACKAGE_NAME "${CPACK_PACKAGE_NAME}") set(CPACK_DEBIAN_PACKAGE_MAINTAINER "Matthias Vogelgesang <matthias.vogelgesang@kit.edu>") set(CPACK_DEBIAN_PACKAGE_DESCRIPTION ${UCA_DESCRIPTION}) set(CPACK_DEBIAN_PACKAGE_DESCRIPTION_SUMMARY ${UCA_DESCRIPTION}) -set(CPACK_PACKAGE_FILE_NAME "${PACKAGE_NAME}-${PACKAGE_VERSION}-${CPACK_PACKAGE_RELEASE}.${CMAKE_SYSTEM_PROCESSOR}") +set(CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}-${CPACK_PACKAGE_RELEASE}.${CMAKE_SYSTEM_PROCESSOR}") set(CPACK_DEBIAN_PACKAGE_ARCHITECTURE "amd64") |