From 72b2805a4192dcca36507c4c22e9809f60f6bf90 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Thu, 31 Jan 2013 11:36:18 +0100 Subject: [PATCH] More makefiles for some basic packages --- gluon/gluon-config-mode/Makefile | 5 ++-- gluon/gluon-core/Makefile | 2 +- gluon/gluon-mesh-batman-adv/Makefile | 36 ++++++++++++++++++++++++++++ gluon/gluon-mesh-vpn-fastd/Makefile | 36 ++++++++++++++++++++++++++++ 4 files changed, 76 insertions(+), 3 deletions(-) create mode 100644 gluon/gluon-mesh-batman-adv/Makefile create mode 100644 gluon/gluon-mesh-vpn-fastd/Makefile diff --git a/gluon/gluon-config-mode/Makefile b/gluon/gluon-config-mode/Makefile index 2cdac31..927ca31 100644 --- a/gluon/gluon-config-mode/Makefile +++ b/gluon/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/gluon/gluon-core/Makefile b/gluon/gluon-core/Makefile index 7303498..c0979a1 100644 --- a/gluon/gluon-core/Makefile +++ b/gluon/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/gluon/gluon-mesh-batman-adv/Makefile b/gluon/gluon-mesh-batman-adv/Makefile new file mode 100644 index 0000000..8a818a8 --- /dev/null +++ b/gluon/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/gluon/gluon-mesh-vpn-fastd/Makefile b/gluon/gluon-mesh-vpn-fastd/Makefile new file mode 100644 index 0000000..777cb02 --- /dev/null +++ b/gluon/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))