Ver código fonte

More makefiles for some basic packages

Matthias Schiffer 11 anos atrás
pai
commit
0637c9fa6d

+ 3 - 2
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

+ 1 - 1
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

+ 36 - 0
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))

+ 36 - 0
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))