LinuxPacking.cmake 990 B

1234567891011121314151617
  1. set(CPACK_PACKAGE_NAME "gmssl")
  2. set(CPACK_PACKAGE_VENDOR "GmSSL develop team")
  3. set(CPACK_PACKAGE_VERSION_MAJOR 3)
  4. set(CPACK_PACKAGE_VERSION_MINOR 0)
  5. set(CPACK_PACKAGE_VERSION_PATCH 0)
  6. set(CPACK_PACKAGE_DESCRIPTION_FILE ${PROJECT_SOURCE_DIR}/README.md)
  7. string(CONCAT CPACK_PACKAGE_DESCRIPTION_SUMMARY
  8. "GmSSL is an open source cryptographic toolbox that supports SM2 / SM3 / SM4 / SM9 "
  9. "and other national secret (national commercial password) algorithm. ")
  10. set(CPACK_RESOURCE_FILE_LICENSE "${PROJECT_SOURCE_DIR}/LICENSE")
  11. set(CPACK_PACKAGE_INSTALL_DIRECTORY /usr)
  12. set(CPACK_PACKAGE_CONTACT "https://github.com/guanzhi/GmSSL/issues")
  13. # The general number of package itself.
  14. # Should be incremented when the package content changes for the same version.
  15. # Can be used to distinguish between different builds of the same version.
  16. # Can be overridden by `cmake -DCPACK_NOARCH_PACKAGE_RELEASE=1`
  17. set(CPACK_NOARCH_PACKAGE_RELEASE 1 CACHE STRING "The general release number of package")