Skip to content

Commit

Permalink
Create submenu LiMe/Collections for metapackages
Browse files Browse the repository at this point in the history
Update information from lime-full and lime-freifunk metapackages
Add new metapackage lime-mini, the basic stuff for LiMe like node
Modify lime-full and lime-freifunk to depend on lime-mini
  • Loading branch information
p4u committed Jul 22, 2016
1 parent 0d2101f commit 36ff885
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 18 deletions.
14 changes: 6 additions & 8 deletions packages/lime-freifunk/Makefile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
#
# Copyright (C) 2006-2014 OpenWrt.org
# Copyright (C) 2013-2016 Libre-Mesh.org
#
# This is free software, licensed under the GNU General Public License v3.
#

include $(TOPDIR)/rules.mk

LIME_BUILDDATE:=$(shell date +%Y%m%d_%H%M)
LIME_CODENAME:=bigbang
LIME_CODENAME:=biggestbang

GIT_COMMIT_DATE:=$(shell git log -n 1 --pretty=%ad --date=short . )
GIT_COMMIT_TSTAMP:=$(shell git log -n 1 --pretty=%at . )
Expand All @@ -19,18 +19,16 @@ include $(INCLUDE_DIR)/package.mk

define Package/$(PKG_NAME)
TITLE:=Freifunk metapackage using LiMe codebase
SECTION:=lime
CATEGORY:=LiMe
SUBMENU:=Collections
MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
URL:=http://libre-mesh.org
DEPENDS:=+lime-system +lime-proto-batadv +batctl +lime-proto-bmx6 \
+lime-proto-anygw +dnsmasq-lease-share +dnsmasq-distributed-hosts \
+lime-eb-ip-tables +bmx6-auto-gw-mode +lime-webui \
+lime-hwd-openwrt-wan

DEPENDS:=+lime-mini
endef

define Package/$(PKG_NAME)/description
Metapackage depending on all the required to run an freifunk-style node
Metapackage depending on all the required to run a freifunk/libre-mesh node
endef

define Build/Compile
Expand Down
17 changes: 7 additions & 10 deletions packages/lime-full/Makefile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
#
# Copyright (C) 2006-2014 OpenWrt.org
# Copyright (C) 2013-2016 Libre-Mesh.org
#
# This is free software, licensed under the GNU General Public License v3.
#

include $(TOPDIR)/rules.mk

LIME_BUILDDATE:=$(shell date +%Y%m%d_%H%M)
LIME_CODENAME:=bigbang
LIME_CODENAME:=biggestbang

GIT_COMMIT_DATE:=$(shell git log -n 1 --pretty=%ad --date=short . )
GIT_COMMIT_TSTAMP:=$(shell git log -n 1 --pretty=%at . )
Expand All @@ -18,20 +18,17 @@ PKG_VERSION=$(GIT_COMMIT_DATE)-$(GIT_COMMIT_TSTAMP)
include $(INCLUDE_DIR)/package.mk

define Package/$(PKG_NAME)
TITLE:=libre-mesh metapackage
TITLE:=libre-mesh standard metapackage
SECTION:=lime
CATEGORY:=LiMe
SUBMENU:=Collections
MAINTAINER:=Pau Escrich <p4u@dabax.net>
URL:=http://libre-mesh.org
DEPENDS:=+lime-system +lime-proto-bmx6 +lime-proto-batadv +lime-proto-anygw +lime-proto-wan \
+dnsmasq-lease-share +dnsmasq-distributed-hosts \
+lime-webui +luci-app-batman-adv \
+lime-map-agent \
+lime-debug \
+lime-hwd-openwrt-wan +bmx6-auto-gw-mode
DEPENDS:=+lime-mini +lime-debug
endef

define Package/$(PKG_NAME)/description
Metapackage depending on all the required to run a full libre-mesh node
Metapackage depending on all the required to run a full standard libre-mesh node
endef

define Build/Compile
Expand Down
45 changes: 45 additions & 0 deletions packages/lime-mini/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
#
# Copyright (C) 2013-2016 Libre-Mesh.org
#
# This is free software, licensed under the GNU General Public License v3.
#

include $(TOPDIR)/rules.mk

LIME_BUILDDATE:=$(shell date +%Y%m%d_%H%M)
LIME_CODENAME:=biggestbang

GIT_COMMIT_DATE:=$(shell git log -n 1 --pretty=%ad --date=short . )
GIT_COMMIT_TSTAMP:=$(shell git log -n 1 --pretty=%at . )

PKG_NAME:=lime-mini
PKG_VERSION=$(GIT_COMMIT_DATE)-$(GIT_COMMIT_TSTAMP)

include $(INCLUDE_DIR)/package.mk

define Package/$(PKG_NAME)
TITLE:=libre-mesh standard metapackage with minimal requirements
SECTION:=lime
CATEGORY:=LiMe
SUBMENU:=Collections
MAINTAINER:=Pau Escrich <p4u@dabax.net>
URL:=http://libre-mesh.org
DEPENDS:=+lime-system +lime-proto-bmx6 +lime-proto-batadv +lime-proto-anygw +lime-proto-wan \
+dnsmasq-lease-share +dnsmasq-distributed-hosts \
+lime-webui +luci-app-batman-adv \
+lime-map-agent +lime-eb-ip-tables \
+lime-hwd-openwrt-wan +bmx6-auto-gw-mode
endef

define Package/$(PKG_NAME)/description
Metapackage depending on all the required to run a minimal standard libre-mesh node
endef

define Build/Compile
endef

define Package/$(PKG_NAME)/install
$(INSTALL_DIR) $(1)/
endef

$(eval $(call BuildPackage,$(PKG_NAME)))

0 comments on commit 36ff885

Please sign in to comment.