Skip to content
Snippets Groups Projects
Commit 05403bb3 authored by Jan-Tarek Butt's avatar Jan-Tarek Butt
Browse files

integrate respondd make params

parent 8be405bc
No related branches found
No related tags found
No related merge requests found
......@@ -5,16 +5,16 @@ PKG_VERSION:=1
PKG_RELEASE:=1
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
PKG_BUILD_DEPENDS := lua/host luci-base/host respondd
PKG_BUILD_DEPENDS += lua/host luci-base/host
include $(GLUONDIR)/include/package.mk
include $(INCLUDE_DIR)/package.mk
define Package/ffnw-hoodselector
SECTION:=networke
CATEGORY:=Freifunk Nordwest
TITLE:=Select the hoods depending on the geo coordinate
DEPENDS:=+lwtrace +ffnw-hoods +luci-lib-jsonc gluon-mesh-batman-adv-15 +gluon-mesh-vpn-fastd
DEPENDS:=+lwtrace +ffnw-hoods +luci-lib-jsonc gluon-mesh-batman-adv-15 +gluon-mesh-vpn-fastd +respondd
endef
define Package/ffnw-hoodselector/description
......@@ -34,18 +34,22 @@ define Build/Prepare
$(CP) ./luasrc/* $(PKG_BUILD_DIR)/
$(call SrcDiet,$(PKG_BUILD_DIR),$(PKG_BUILD_DIR))
chmod +x -R $(PKG_BUILD_DIR)/
$(CP) ./src/* $(PKG_BUILD_DIR)/
endef
define Build/Configure
endef
define Build/Compile
$(call Build/Compile/Default)
endef
define Package/ffnw-hoodselector/install
$(CP) ./files/* $(1)/
$(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_BUILD_DIR)/hoodselector $(1)/usr/sbin/hoodselector
$(INSTALL_DIR) $(1)/lib/gluon/respondd
$(CP) $(PKG_BUILD_DIR)/respondd.so $(1)/lib/gluon/respondd/hoodselector.so
endef
$(eval $(call BuildPackage,ffnw-hoodselector))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment