2015-12-13 22:16:10 +01:00
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=fff-web
|
2017-11-03 15:00:02 +01:00
|
|
|
PKG_VERSION:=6
|
2016-06-10 23:58:11 +02:00
|
|
|
PKG_RELEASE:=2
|
2015-12-13 22:16:10 +01:00
|
|
|
|
2017-10-15 18:26:48 +02:00
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
|
2015-12-13 22:16:10 +01:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
2017-10-15 18:26:48 +02:00
|
|
|
define Package/$(PKG_NAME)
|
2015-12-13 22:16:10 +01:00
|
|
|
SECTION:=base
|
|
|
|
CATEGORY:=Freifunk
|
|
|
|
TITLE:= Freifunk-Franken Webinterface
|
|
|
|
URL:=http://www.freifunk-franken.de
|
2018-01-30 23:50:15 +01:00
|
|
|
DEPENDS:=+uhttpd +libustream-mbedtls +haserl +px5g +simple-tc +fff-boardname +fff-config +fff-network +fff-hoodutils
|
2015-12-13 22:16:10 +01:00
|
|
|
endef
|
|
|
|
|
2017-10-15 18:26:48 +02:00
|
|
|
define Package/$(PKG_NAME)/description
|
2015-12-13 22:16:10 +01:00
|
|
|
This is the Webinterface for the Freifunk Franken Firmware
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Prepare
|
|
|
|
echo "all: " > $(PKG_BUILD_DIR)/Makefile
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Configure
|
|
|
|
# nothing
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Compile
|
|
|
|
# nothing
|
|
|
|
endef
|
|
|
|
|
2017-10-15 18:26:48 +02:00
|
|
|
define Package/$(PKG_NAME)/install
|
2015-12-13 22:16:10 +01:00
|
|
|
$(CP) ./files/* $(1)/
|
|
|
|
ifeq ($(CONFIG_PACKAGE_fff-nodewatcher),y)
|
|
|
|
ln -s ../../tmp/crawldata/node.data $(1)/www/public/node.data
|
|
|
|
endif
|
|
|
|
endef
|
|
|
|
|
2017-10-15 18:26:48 +02:00
|
|
|
$(eval $(call BuildPackage,$(PKG_NAME)))
|