summaryrefslogtreecommitdiff
path: root/cmake/cpack.cmake
blob: 32845b472f9cbdbeaff31a8aba53648f2e464da2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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)