diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2010-10-15 22:12:28 +0400 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2010-10-17 19:19:45 +0400 |
commit | ab92d89ca62f3a9e63ae4f8731efcdbd1d0a7202 (patch) | |
tree | d0071d27489056e4beea5e289e28d1d57dc516f1 /cmake/cpack.cmake | |
parent | d32cf13525153b9bb961a72cded215e9866e78bd (diff) | |
download | accel-ppp-ab92d89ca62f3a9e63ae4f8731efcdbd1d0a7202.tar.gz accel-ppp-ab92d89ca62f3a9e63ae4f8731efcdbd1d0a7202.zip |
added cpack interface to generate deb packages
Diffstat (limited to 'cmake/cpack.cmake')
-rw-r--r-- | cmake/cpack.cmake | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/cmake/cpack.cmake b/cmake/cpack.cmake new file mode 100644 index 0000000..32845b4 --- /dev/null +++ b/cmake/cpack.cmake @@ -0,0 +1,26 @@ +INCLUDE(InstallRequiredSystemLibraries) + +SET(CPACK_PACKAGE_VERSION_MAJOR "1") +SET(CPACK_PACKAGE_VERSION_MINOR "1") +SET(CPACK_PACKAGE_VERSION_PATCH "2") + +SET(CPACK_PACKAGE_NAME "accel-pptp") +#SET(CPACK_PACKAGE_VERSION "1.1.2") +SET(CPACK_PACKAGE_CONTACT "Dmitry Kozlov <xeb@mail.ru>") +SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "High-performance multi-protocol tunneling server for Linux") + + + +SET(CPACK_PACKAGE_VENDOR "Dmitry Kozlov") +SET(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/README") +SET(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/COPYING") +#SET(CPACK_PACKAGE_INSTALL_DIRECTORY "CMake ${CMake_VERSION_MAJOR}.${CMake_VERSION_MINOR}") +#SET(CPACK_STRIP_FILES "usr/sbin/accel-pptpd") +#SET(CPACK_PACKAGE_EXECUTABLES "usr/sbin/accel-ppptp") + +IF(CMAKE_BUILD_TYPE STREQUAL Debian) + INCLUDE(${CMAKE_HOME_DIRECTORY}/cmake/debian/debian.cmake) +ENDIF(CMAKE_BUILD_TYPE STREQUAL Debian) + +INCLUDE(CPack) + |