File:  [Local Repository] / imach / distributions / gnulinux / CMakeLists.txt
Revision 1.1: download - view: text, annotated - select for diffs
Tue Aug 18 16:42:35 2015 UTC (8 years, 10 months ago) by brouard
Branches: MAIN
CVS tags: HEAD
*** empty log message ***

# set(CPACK_PACKAGE_VERSION ${IMACH_VERSION})
# set(CPACK_PACKAGE_NAME "IMaCh")
# set(CPACK_PACKAGE_RELEASE 2)
# set(CPACK_PACKAGE_CONTACT "Nicolas Brouard")
# set(CPACK_PACKAGE_VENDOR "INED")
# SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "IMaCh Interpolated Markov Chain program")
# SET(CPACK_PACKAGE_VENDOR "IMaCh, INED")
# SET(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/../../README.txt")
# SET(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/../../Copyright.txt")
# SET(CPACK_PACKAGE_VERSION_MAJOR "${IMACH_VERSION_MAJOR}")
# SET(CPACK_PACKAGE_VERSION_MINOR "${IMACH_VERSION_MINOR}")
# SET(CPACK_PACKAGE_VERSION_PATCH "${IMACH_VERSION_PATCH}")
# SET(CPACK_PACKAGE_INSTALL_DIRECTORY "CMake ${CMake_VERSION_MAJOR}.${CMake_VERSION_MINOR}")
# SET(CPACK_PACKAGE_EXECUTABLES "IMaCh" "IMaCh")
# SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "IMaCh program estimates Health Expectancies from Cross-longitudinal surveys.")
# SET(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/imach-desc.txt")
# set(CPACK_PACKAGING_INSTALL_PREFIX ${CMAKE_INSTALL_PREFIX})
# set(CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}-${CPACK_PACKAGE_RELEASE}.${CMAKE_SYSTEM_PROCESSOR}")

set(CPACK_GENERATOR "RPM")
SET(CPACK_RPM_PACKAGE_LICENSE "GPL")
SET(CPACK_RPM_PACKAGE_GROUP "Applications/Sciences")
set(CPACK_RPM_PACKAGE_REQUIRES "gnuplot >= 4.2, cmake >= 2.8")
set(CPACK_RPM_CHANGELOG_FILE "${CMAKE_CURRENT_SOURCE_DIR}/specchangelog")

INCLUDE(InstallRequiredSystemLibraries)

INCLUDE(CPack)

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>