From: Andrew Karpow Date: Sun, 12 Jan 2014 19:16:07 +0000 (+0100) Subject: init.d script are installed by default now X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=13b921553f3146434fca78e178131b9a7c48c08c;p=ympd.git init.d script are installed by default now --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 710adec..ea24956 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 ") 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})