summaryrefslogtreecommitdiff
path: root/cmake/cpack.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/cpack.cmake')
-rw-r--r--cmake/cpack.cmake26
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)
+