File:  [Local Repository] / imach / distributions / gnulinux / CMakeLists.txt
Revision 1.4: download - view: text, annotated - select for diffs
Sat May 22 15:59:58 2021 UTC (3 years, 5 months ago) by brouard
Branches: MAIN
CVS tags: HEAD
Summary: gnuplot 5.0 for gnulinux too

# set(CPACK_PACKAGE_VERSION ${IMACH_VERSION})
# set(CPACK_PACKAGE_NAME "IMaCh")
# set(CPACK_PACKAGE_RELEASE 0)
# 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 >= 5, cmake >= 2.8")
#set(CPACK_RPM_CHANGELOG_FILE "${CMAKE_CURRENT_SOURCE_DIR}/specchangelog")
#cpack -G RPM --config ./CPackSourceConfig.cmake
# SET(CPACK_BINARY_RPM "ON")
# SET(CPACK_RPM_PACKAGE_SOURCES "ON")
# SET(CPACK_BINARY_STGZ "OFF")
# SET(CPACK_BINARY_TBZ2 "OFF")
# SET(CPACK_BINARY_TGZ "OFF")
# SET(CPACK_BINARY_TXZ "ON")
# SET(CPACK_BINARY_TZ "OFF")

# SET(CPACK_GENERATOR "TXZ")
# SET(CPACK_SOURCE_GENERATOR "TXZ")

#INCLUDE(InstallRequiredSystemLibraries)

#INCLUDE(CPack)
# INCLUDE(UseRPMTools)
# IF(RPMTools_FOUND)
#   RPMTools_ADD_RPM_TARGETS(${PACKAGE_NAME} ${PACKAGE_NAME}.spec.in)
# ENDIF(RPMTools_FOUND)
#    RPMTools_ADD_RPM_TARGETS(${PACKAGE_NAME} ${CMAKE_SOURCE_DIR}/${PACKAGE_NAME}.spec.in)
# RPMTools_ADD_RPM_TARGETS(${PACKAGE_NAME})

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