Browse Source

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 <daniel@makrotopia.org>
lilik-openwrt-22.03
Daniel Golle 7 years ago
parent
commit
f2ef609821
1 changed files with 5 additions and 3 deletions
  1. +5
    -3
      net/ola/Makefile

+ 5
- 3
net/ola/Makefile View File

@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=ola PKG_NAME:=ola
PKG_VERSION:=0.10.6 PKG_VERSION:=0.10.6
PKG_RELEASE:=2
PKG_RELEASE:=3
PKG_SOURCE_PROTO:=git PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/OpenLightingProject/ola.git PKG_SOURCE_URL:=https://github.com/OpenLightingProject/ola.git
@ -38,7 +38,7 @@ define Package/ola
TITLE:=Open Lighting Architecture Daemon TITLE:=Open Lighting Architecture Daemon
URL:=https://www.openlighting.org/ URL:=https://www.openlighting.org/
MAINTAINER:=Christian Beier <dontmind@freeshell.org> MAINTAINER:=Christian Beier <dontmind@freeshell.org>
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 endef
define Package/ola/description define Package/ola/description
@ -52,7 +52,6 @@ CONFIGURE_ARGS += \
--disable-static \ --disable-static \
--disable-fatal-warnings \ --disable-fatal-warnings \
--disable-unittests \ --disable-unittests \
--disable-http \
--without-dns-sd \ --without-dns-sd \
--with-ola-protoc-plugin=$(STAGING_DIR_HOSTPKG)/bin/ola_protoc_plugin --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 $(INSTALL_DIR) $(1)/usr/share/ola/pids
$(CP) $(PKG_INSTALL_DIR)/usr/share/ola/pids/* $(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 endef
define Package/ola/postinst define Package/ola/postinst


Loading…
Cancel
Save