summaryrefslogtreecommitdiffhomepage
path: root/contrib/package/meshwizard/Makefile
diff options
context:
space:
mode:
authorManuel Munz <freifunk@somakoma.de>2011-06-23 15:52:00 +0000
committerManuel Munz <freifunk@somakoma.de>2011-06-23 15:52:00 +0000
commitab87896104be09072ccccad305588d46370ab5ad (patch)
treefc3c5a5db319668cf1185c671268bc8cdae7316b /contrib/package/meshwizard/Makefile
parente88fd858a1c0d3dbac4703224dc63cb498839432 (diff)
Add new meshwizard (WIP)
Diffstat (limited to 'contrib/package/meshwizard/Makefile')
-rw-r--r--contrib/package/meshwizard/Makefile39
1 files changed, 39 insertions, 0 deletions
diff --git a/contrib/package/meshwizard/Makefile b/contrib/package/meshwizard/Makefile
new file mode 100644
index 0000000000..d665b46a48
--- /dev/null
+++ b/contrib/package/meshwizard/Makefile
@@ -0,0 +1,39 @@
+# Copyright (C) 2011 Manuel Munz <freifunk at somakoma de>
+# This is free software, licensed under the Apache 2.0 license.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=meshwizard
+PKG_RELEASE:=1
+
+PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
+
+include $(INCLUDE_DIR)/package.mk
+
+define Package/meshwizard
+ SECTION:=luci
+ CATEGORY:=LuCI
+ SUBMENU:=Freifunk
+ TITLE:=Shell script based wizard for Mesh networks
+ DEPENDS:=+firewall
+endef
+
+define Package/meshwizard/description
+ A shellscript based wizard to simplify the setup of a typical mesh node (e.g. for Freifunk.net)
+endef
+
+define Build/Prepare
+ mkdir -p $(PKG_BUILD_DIR)
+endef
+
+define Build/Configure
+endef
+
+define Build/Compile
+endef
+
+define Package/meshwizard/install
+ $(CP) ./files/* $(1)/
+endef
+
+$(eval $(call BuildPackage,meshwizard))