commit aaf48594f799aa3e482ff54ec11e2ee25339bfa6
Author: Martin Konrad <konrad@ikp.tu-darmstadt.de>
Date:   Sun Mar 20 02:25:58 2011 +0100

    CPackDeb: Fix broken package names
    
    Package names were the same for all compontents which breaks installation of
    more than one of them - fixed.

diff --git a/Modules/CPackDeb.cmake b/Modules/CPackDeb.cmake
index 469f08f..90c80a4 100644
--- a/Modules/CPackDeb.cmake
+++ b/Modules/CPackDeb.cmake
@@ -316,6 +316,7 @@ IF(CPACK_DEB_PACKAGE_COMPONENT)
   SET(CPACK_DEB_PACKAGE_COMPONENT_PART_NAME "-${CPACK_DEB_PACKAGE_COMPONENT}")
   SET(CPACK_DEB_PACKAGE_COMPONENT_PART_PATH "/${CPACK_DEB_PACKAGE_COMPONENT}")
   SET(WDIR "${CPACK_TOPLEVEL_DIRECTORY}/${CPACK_PACKAGE_FILE_NAME}/${CPACK_DEB_PACKAGE_COMPONENT}")
+  STRING(TOLOWER "${CPACK_PACKAGE_NAME}${CPACK_DEB_PACKAGE_COMPONENT_PART_NAME}" CPACK_DEBIAN_PACKAGE_NAME)
 ELSE(CPACK_DEB_PACKAGE_COMPONENT)
   SET(CPACK_DEB_PACKAGE_COMPONENT_PART_NAME "")
   SET(CPACK_DEB_PACKAGE_COMPONENT_PART_PATH "")
