mirror of
https://github.com/SuperBFG7/ympd
synced 2024-12-23 01:20:27 +00:00
init.d script are installed by default now
This commit is contained in:
parent
fbcd0ac9e1
commit
13b921553f
@ -4,7 +4,7 @@ project (ympd)
|
||||
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${PROJECT_SOURCE_DIR}/cmake/")
|
||||
set(CPACK_PACKAGE_VERSION_MAJOR "1")
|
||||
set(CPACK_PACKAGE_VERSION_MINOR "0")
|
||||
set(CPACK_PACKAGE_VERSION_PATCH "4")
|
||||
set(CPACK_PACKAGE_VERSION_PATCH "5")
|
||||
set(CPACK_GENERATOR "DEB;RPM;TGZ")
|
||||
set(CPACK_SOURCE_GENERATOR "TBZ2")
|
||||
set(DEBIAN_PACKAGE_SECTION "web")
|
||||
@ -12,10 +12,8 @@ set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "MPD web client based on Websockets and Bo
|
||||
set(CPACK_PACKAGE_CONTACT "Andrew Karpow <andy@ympd.org>")
|
||||
set(CPACK_DEBIAN_PACKAGE_MAINTAINER "andy@ndyk.de")
|
||||
set(CPACK_DEBIAN_PACKAGE_DEPENDS "libssl1.0.0,libmpdclient2")
|
||||
set(CPACK_SOURCE_PACKAGE_FILE_NAME
|
||||
"${PROJECT_NAME}-${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}")
|
||||
|
||||
option(WITH_STATIC_WEBSOCKETS "Build with static libwebsockets library" OFF)
|
||||
option(WITH_STATIC_WEBSOCKETS "Build with static libwebsockets library" ON)
|
||||
|
||||
find_package(LibMPDClient REQUIRED)
|
||||
find_package(LibWebSockets REQUIRED)
|
||||
@ -57,7 +55,7 @@ install(TARGETS ympd DESTINATION bin)
|
||||
install(DIRECTORY htdocs DESTINATION share/${PROJECT_NAME})
|
||||
install(FILES contrib/init.debian DESTINATION /etc/init.d
|
||||
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE
|
||||
WORLD_READ WORLD_EXECUTE CONFIGURATIONS debrelease RENAME ${PROJECT_NAME})
|
||||
WORLD_READ WORLD_EXECUTE RENAME ${PROJECT_NAME})
|
||||
install(FILES contrib/default.debian DESTINATION /etc/default/${PROJECT_NAME}
|
||||
CONFIGURATIONS debrelease RENAME ${PROJECT_NAME})
|
||||
RENAME ${PROJECT_NAME})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user