From 0637c9fa6de1e9dd3089917f6c858f5846e0770b Mon Sep 17 00:00:00 2001
From: Matthias Schiffer <mschiffer@universe-factory.net>
Date: Thu, 31 Jan 2013 11:36:18 +0100
Subject: [PATCH] More makefiles for some basic packages

---
 package/gluon-config-mode/Makefile     |  5 ++--
 package/gluon-core/Makefile            |  2 +-
 package/gluon-mesh-batman-adv/Makefile | 36 ++++++++++++++++++++++++++
 package/gluon-mesh-vpn-fastd/Makefile  | 36 ++++++++++++++++++++++++++
 4 files changed, 76 insertions(+), 3 deletions(-)
 create mode 100644 package/gluon-mesh-batman-adv/Makefile
 create mode 100644 package/gluon-mesh-vpn-fastd/Makefile

diff --git a/package/gluon-config-mode/Makefile b/package/gluon-config-mode/Makefile
index 2cdac3183..927ca318e 100644
--- a/package/gluon-config-mode/Makefile
+++ b/package/gluon-config-mode/Makefile
@@ -4,7 +4,8 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=gluon-config-mode
-PKG_RELEASE:=0.0.1
+PKG_VERSION:=0.3.2.99
+PKG_RELEASE:=1
 
 PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
 
@@ -14,7 +15,7 @@ define Package/gluon-config-mode
   SECTION:=gluon
   CATEGORY:=Gluon
   TITLE:=Luci based config mode for user friendly setup of new meshnodes
-  DEPENDS:=+luci-mod-admin-core
+  DEPENDS:=+gluon-core +luci-mod-admin-core
 endef
 
 define Package/gluon-config-mode/description
diff --git a/package/gluon-core/Makefile b/package/gluon-core/Makefile
index 730349808..c0979a1b8 100644
--- a/package/gluon-core/Makefile
+++ b/package/gluon-core/Makefile
@@ -15,7 +15,7 @@ define Package/gluon-core
 endef
 
 define Package/gluon-core/description
-	The core of the Gluon community wifi mesh firmware framework
+	Gluon community wifi mesh firmware framework: core
 endef
 
 define Build/Prepare
diff --git a/package/gluon-mesh-batman-adv/Makefile b/package/gluon-mesh-batman-adv/Makefile
new file mode 100644
index 000000000..8a818a808
--- /dev/null
+++ b/package/gluon-mesh-batman-adv/Makefile
@@ -0,0 +1,36 @@
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=gluon-mesh-batman-adv
+PKG_VERSION:=0.3.2.99
+PKG_RELEASE:=1
+
+PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
+
+include $(INCLUDE_DIR)/package.mk
+
+define Package/gluon-mesh-batman-adv
+  SECTION:=gluon
+  CATEGORY:=Gluon
+  TITLE:=Support for batman-adv meshing
+  DEPENDS:=+gluon-core
+endef
+
+define Package/gluon-mesh-batman-adv/description
+	Gluon community wifi mesh firmware framework: batman-adv support
+endef
+
+define Build/Prepare
+	mkdir -p $(PKG_BUILD_DIR)
+endef
+
+define Build/Configure
+endef
+
+define Build/Compile
+endef
+
+define Package/gluon-mesh-batman-adv/install
+	$(CP) ./files/* $(1)/
+endef
+
+$(eval $(call BuildPackage,gluon-mesh-batman-adv))
diff --git a/package/gluon-mesh-vpn-fastd/Makefile b/package/gluon-mesh-vpn-fastd/Makefile
new file mode 100644
index 000000000..777cb0245
--- /dev/null
+++ b/package/gluon-mesh-vpn-fastd/Makefile
@@ -0,0 +1,36 @@
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=gluon-mesh-vpn-fastd
+PKG_VERSION:=0.3.2.99
+PKG_RELEASE:=1
+
+PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
+
+include $(INCLUDE_DIR)/package.mk
+
+define Package/gluon-mesh-vpn-fastd
+  SECTION:=gluon
+  CATEGORY:=Gluon
+  TITLE:=Support for connecting batman-adv meshes via fastd
+  DEPENDS:=+gluon-core +gluon-mesh-batman-adv +fastd
+endef
+
+define Package/gluon-mesh-vpn-fastd/description
+	Gluon community wifi mesh firmware framework: fastd support
+endef
+
+define Build/Prepare
+	mkdir -p $(PKG_BUILD_DIR)
+endef
+
+define Build/Configure
+endef
+
+define Build/Compile
+endef
+
+define Package/gluon-mesh-vpn-fastd/install
+	$(CP) ./files/* $(1)/
+endef
+
+$(eval $(call BuildPackage,gluon-mesh-vpn-fastd))
-- 
GitLab