Annotation of imach/distributions/gnulinux/CMakeLists.txt, revision 1.2
1.1 brouard 1: # set(CPACK_PACKAGE_VERSION ${IMACH_VERSION})
2: # set(CPACK_PACKAGE_NAME "IMaCh")
3: # set(CPACK_PACKAGE_RELEASE 2)
4: # set(CPACK_PACKAGE_CONTACT "Nicolas Brouard")
5: # set(CPACK_PACKAGE_VENDOR "INED")
6: # SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "IMaCh Interpolated Markov Chain program")
7: # SET(CPACK_PACKAGE_VENDOR "IMaCh, INED")
8: # SET(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/../../README.txt")
9: # SET(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/../../Copyright.txt")
10: # SET(CPACK_PACKAGE_VERSION_MAJOR "${IMACH_VERSION_MAJOR}")
11: # SET(CPACK_PACKAGE_VERSION_MINOR "${IMACH_VERSION_MINOR}")
12: # SET(CPACK_PACKAGE_VERSION_PATCH "${IMACH_VERSION_PATCH}")
13: # SET(CPACK_PACKAGE_INSTALL_DIRECTORY "CMake ${CMake_VERSION_MAJOR}.${CMake_VERSION_MINOR}")
14: # SET(CPACK_PACKAGE_EXECUTABLES "IMaCh" "IMaCh")
15: # SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "IMaCh program estimates Health Expectancies from Cross-longitudinal surveys.")
16: # SET(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/imach-desc.txt")
17: # set(CPACK_PACKAGING_INSTALL_PREFIX ${CMAKE_INSTALL_PREFIX})
18: # set(CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}-${CPACK_PACKAGE_RELEASE}.${CMAKE_SYSTEM_PROCESSOR}")
19:
20: set(CPACK_GENERATOR "RPM")
21: SET(CPACK_RPM_PACKAGE_LICENSE "GPL")
22: SET(CPACK_RPM_PACKAGE_GROUP "Applications/Sciences")
23: set(CPACK_RPM_PACKAGE_REQUIRES "gnuplot >= 4.2, cmake >= 2.8")
24: set(CPACK_RPM_CHANGELOG_FILE "${CMAKE_CURRENT_SOURCE_DIR}/specchangelog")
1.2 ! brouard 25: SET(CPACK_BINARY_RPM "ON")
! 26: SET(CPACK_BINARY_STGZ "OFF")
! 27: SET(CPACK_BINARY_TBZ2 "OFF")
! 28: SET(CPACK_BINARY_TGZ "OFF")
! 29: SET(CPACK_BINARY_TXZ "ON")
! 30: SET(CPACK_BINARY_TZ "OFF")
! 31:
! 32: SET(CPACK_GENERATOR "TXZ")
! 33: SET(CPACK_SOURCE_GENERATOR "TXZ")
! 34: SET(CPACK_SOURCE_TBZ2 "OFF")
! 35: SET(CPACK_SOURCE_TGZ "OFF")
! 36: SET(CPACK_SOURCE_TOPLEVEL_TAG "Linux-Source")
! 37: SET(CPACK_SOURCE_TXZ "ON")
! 38: SET(CPACK_SOURCE_TZ "OFF")
! 39: SET(CPACK_SOURCE_ZIP "OFF")
1.1 brouard 40:
41: INCLUDE(InstallRequiredSystemLibraries)
42:
43: INCLUDE(CPack)
1.2 ! brouard 44: INCLUDE(UseRPMTools)
! 45: IF(RPMTools_FOUND)
! 46: RPMTools_ADD_RPM_TARGETS(${PACKAGE_NAME} ${PACKAGE_NAME}.spec.in)
! 47: ENDIF(RPMTools_FOUND)
! 48: # RPMTools_ADD_RPM_TARGETS(${PACKAGE_NAME} ${CMAKE_SOURCE_DIR}/${PACKAGE_NAME}.spec.in)
! 49: # RPMTools_ADD_RPM_TARGETS(${PACKAGE_NAME})
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>