From f2ef609821576ebdaa3504d19ba0c256dec71059 Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Thu, 21 Jun 2018 11:55:02 +0200 Subject: [PATCH] ola: enable and ship web stuff Make OLA more useful for untrained users which depend on the built-in webserver. We may split the ola package into smaller parts to allow not having web-stuff in case this breaks the space-constraints for some users. Signed-off-by: Daniel Golle --- net/ola/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/net/ola/Makefile b/net/ola/Makefile index ec84724c8..bbe45c26f 100644 --- a/net/ola/Makefile +++ b/net/ola/Makefile @@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=ola PKG_VERSION:=0.10.6 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://github.com/OpenLightingProject/ola.git @@ -38,7 +38,7 @@ define Package/ola TITLE:=Open Lighting Architecture Daemon URL:=https://www.openlighting.org/ MAINTAINER:=Christian Beier - DEPENDS:=+protobuf +libusb-1.0 +libuuid +libstdcpp +libpthread +librt +zlib +libncurses +liblo + DEPENDS:=+protobuf +libusb-1.0 +libuuid +libstdcpp +libpthread +librt +zlib +libncurses +liblo +libmicrohttpd endef define Package/ola/description @@ -52,7 +52,6 @@ CONFIGURE_ARGS += \ --disable-static \ --disable-fatal-warnings \ --disable-unittests \ - --disable-http \ --without-dns-sd \ --with-ola-protoc-plugin=$(STAGING_DIR_HOSTPKG)/bin/ola_protoc_plugin @@ -102,6 +101,9 @@ define Package/ola/install $(INSTALL_DIR) $(1)/usr/share/ola/pids $(CP) $(PKG_INSTALL_DIR)/usr/share/ola/pids/* $(1)/usr/share/ola/pids + + $(INSTALL_DIR) $(1)/usr/share/olad/www + $(CP) $(PKG_INSTALL_DIR)/usr/share/olad/www/* $(1)/usr/share/olad/www endef define Package/ola/postinst