Правила именования пакетов
This commit is contained in:
parent
d6c1e11d49
commit
1eaded9031
@ -40,16 +40,16 @@ if(CMLIB_CPACK_DEFAULT_SCHEME)
|
|||||||
${CMLIB_PROJECT_NAME_LOWER}_${CPACK_PACKAGE_VERSION}_${CPACK_TARGET_ARCH}.deb)
|
${CMLIB_PROJECT_NAME_LOWER}_${CPACK_PACKAGE_VERSION}_${CPACK_TARGET_ARCH}.deb)
|
||||||
|
|
||||||
# Правило формирования имени пакета и файла для компонента base-dev
|
# Правило формирования имени пакета и файла для компонента base-dev
|
||||||
set(CPACK_DEBIAN_BASE-DEV_PACKAGE_NAME "${CMLIB_PROJECT_NAME_LOWER}-base-dev")
|
set(CPACK_DEBIAN_BASE-DEV_PACKAGE_NAME "lib${CMLIB_PROJECT_NAME_LOWER}-base-dev")
|
||||||
set(CPACK_DEBIAN_BASE-DEV_FILE_NAME
|
set(CPACK_DEBIAN_BASE-DEV_FILE_NAME
|
||||||
${CMLIB_PROJECT_NAME_LOWER}-base-dev_${CPACK_PACKAGE_VERSION}_${CPACK_TARGET_ARCH}.deb)
|
lib${CMLIB_PROJECT_NAME_LOWER}-base-dev_${CPACK_PACKAGE_VERSION}_${CPACK_TARGET_ARCH}.deb)
|
||||||
|
|
||||||
# Правило формирования имени пакета и файла для компонента libs-dev
|
# Правило формирования имени пакета и файла для компонента libs-dev
|
||||||
set(CPACK_DEBIAN_LIBS-DEV_PACKAGE_NAME ${CMLIB_PROJECT_NAME_LOWER}-dev)
|
set(CPACK_DEBIAN_LIBS-DEV_PACKAGE_NAME lib${CMLIB_PROJECT_NAME_LOWER}-dev)
|
||||||
set(CPACK_DEBIAN_LIBS-DEV_FILE_NAME
|
set(CPACK_DEBIAN_LIBS-DEV_FILE_NAME
|
||||||
${CMLIB_PROJECT_NAME_LOWER}-dev_${CPACK_PACKAGE_VERSION}_${CPACK_TARGET_ARCH}.deb)
|
lib${CMLIB_PROJECT_NAME_LOWER}-dev_${CPACK_PACKAGE_VERSION}_${CPACK_TARGET_ARCH}.deb)
|
||||||
|
|
||||||
set(CPACK_DEBIAN_LIBS-DEV_PACKAGE_DEPENDS "${CMLIB_PROJECT_NAME_LOWER}-base-dev")
|
set(CPACK_DEBIAN_LIBS-DEV_PACKAGE_DEPENDS "lib${CMLIB_PROJECT_NAME_LOWER}-base-dev")
|
||||||
|
|
||||||
foreach(_C ${CPACK_COMPONENTS_ALL})
|
foreach(_C ${CPACK_COMPONENTS_ALL})
|
||||||
string(TOLOWER ${_C} _cl)
|
string(TOLOWER ${_C} _cl)
|
||||||
|
Loading…
Reference in New Issue
Block a user