34 lines
857 B
Makefile
34 lines
857 B
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=fff-web-ui
|
|
PKG_RELEASE:=$(shell echo -n $$(( $(COMMITCOUNT) + 20 )))
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/$(PKG_NAME)
|
|
SECTION:=base
|
|
CATEGORY:=Freifunk
|
|
TITLE:=Freifunk-Franken Webinterface
|
|
URL:=https://www.freifunk-franken.de
|
|
DEPENDS:=+uhttpd +libustream-mbedtls +haserl +px5g +fff-simple-tc \
|
|
+fff-boardname +fff-config +fff-network +fff-hoodutils \
|
|
+@BUSYBOX_CONFIG_WGET +@BUSYBOX_CONFIG_FEATURE_WGET_TIMEOUT
|
|
endef
|
|
|
|
define Package/$(PKG_NAME)/description
|
|
This is the web-based user interface for the Freifunk Franken Firmware
|
|
endef
|
|
|
|
define Build/Compile
|
|
# nothing
|
|
endef
|
|
|
|
define Package/$(PKG_NAME)/install
|
|
$(CP) ./files/* $(1)/
|
|
ifeq ($(CONFIG_PACKAGE_fff-nodewatcher),y)
|
|
ln -s ../../tmp/crawldata/node.data $(1)/www/public/node.data
|
|
endif
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,$(PKG_NAME)))
|