summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2018-04-28 15:11:24 +0300
committerDmitry Kozlov <xeb@mail.ru>2018-04-28 15:11:24 +0300
commit4e39b82b126bcee5b19f482a0f5048b25692abb3 (patch)
tree836e698be377e6f8ca067fccd4bb809cb9ae2c32 /contrib
parentfc6624493c6260f0b216aabd8e51944209b71bec (diff)
downloadaccel-ppp-4e39b82b126bcee5b19f482a0f5048b25692abb3.tar.gz
accel-ppp-4e39b82b126bcee5b19f482a0f5048b25692abb3.zip
move contrib/centos/centos.cmake -> cmake/centos/centos.cmake
Diffstat (limited to 'contrib')
-rw-r--r--contrib/centos/centos.cmake24
1 files changed, 0 insertions, 24 deletions
diff --git a/contrib/centos/centos.cmake b/contrib/centos/centos.cmake
deleted file mode 100644
index a0dcd279..00000000
--- a/contrib/centos/centos.cmake
+++ /dev/null
@@ -1,24 +0,0 @@
-SET(CPACK_PACKAGING_INSTALL_PREFIX "/usr")
-SET(CPACK_PACKAGE_FILE_NAME ${CPACK_PACKAGE_NAME})
-
-if (BUILD_DRIVER_ONLY)
- if (BUILD_IPOE_DRIVER)
- SET(CPACK_PACKAGING_INSTALL_PREFIX "/")
- SET(CPACK_PACKAGE_NAME "accel-ppp-ipoe-kmod")
- SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "accel-ppp IPoE kernel module")
- SET(CPACK_RPM_PACKAGE_REQUIRES "")
- INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/drivers/ipoe/driver/ipoe.ko DESTINATION lib/modules/${CENTOS_KDIR}/extra)
- endif (BUILD_IPOE_DRIVER)
-
- if (BUILD_VLAN_MON_DRIVER)
- SET(CPACK_PACKAGING_INSTALL_PREFIX "/")
- SET(CPACK_PACKAGE_NAME "accel-ppp-vlan_mon-kmod")
- SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "accel-ppp vlan monitoring kernel module")
- SET(CPACK_RPM_PACKAGE_REQUIRES "")
- INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/drivers/vlan_mon/driver/vlan_mon.ko DESTINATION lib/modules/${CENTOS_KDIR}/extra)
- endif (BUILD_VLAN_MON_DRIVER)
-else (BUILD_DRIVER_ONLY)
- INSTALL(FILES ${CMAKE_HOME_DIRECTORY}/contrib/accel-ppp.service DESTINATION /usr/lib/systemd/system)
- INSTALL(FILES ${CMAKE_HOME_DIRECTORY}/accel-pppd/accel-ppp.conf DESTINATION /etc RENAME accel-ppp.conf.dist)
-endif (BUILD_DRIVER_ONLY)
-