Developing lightweight computation at the DSG edge

Makefile 2.05 KB
Newer Older
Isaac Wilder's avatar
Isaac Wilder committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#    Copyright (C) 2011 Fundacio Privada per a la Xarxa Oberta, Lliure i Neutral guifi.net
#
#    This program is free software; you can redistribute it and/or modify
#    it under the terms of the GNU General Public License as published by
#    the Free Software Foundation; either version 2 of the License, or
#    (at your option) any later version.
#
#    This program is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#    GNU General Public License for more details.
#
#    You should have received a copy of the GNU General Public License along
#    with this program; if not, write to the Free Software Foundation, Inc.,
#    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
#    The full GNU General Public License is included in this distribution in
#    the file called "COPYING".
#
# Contributors:
#	Pau Escrich <p4u@dabax.net>
#	Simó Albert i Beltran
#

include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk

PKG_NAME:=qmp-fnf-node
PKG_RELEASE:=2
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
31
32
QMP_CODENAME:=Clearance
QMP_RELEASE:=3.0-rc1
Isaac Wilder's avatar
Isaac Wilder committed
33
34
35
36
37
38
39
40
41
42
43
QMP_BUILDDATE:=$(shell date +%Y%m%d_%H%M)

include $(INCLUDE_DIR)/package.mk

define Package/qmp-fnf-node
  SECTION:=net
  CATEGORY:=qMp
  TITLE:=Basic addons for qMp fnf node
  URL:=http://thefnf.org
  DEPENDS:= \
  +qmp-system \
44
  +uhttpd +luci-mod-admin-full +luci-app-bmx6 +libiwinfo-lua \
Isaac Wilder's avatar
Isaac Wilder committed
45
46
47
48
49
50
51
52
  +iwinfo \
  +radvd \
  +wpad-mini \
  +iw +netperf +mtr \
  +bmx6 +bmx6-uci-config +bmx6-json +bmx6-sms \
  +luci-theme-qmp \
  +firewall \
  +ip +iputils-ping6 \
53
  +tcpdump-mini +igmpproxy +bwm +collectd
Isaac Wilder's avatar
Isaac Wilder committed
54
55
56
57
58
59
60
61
62
63
endef

define Package/qmp-fnf-node/description
 Required addons for qMp fnf node (only needed and basic stuff)
endef

define Build/Prepare
 mkdir -p $(PKG_BUILD_DIR)
endef

64
65
66
67
68
69
70
71
72
73
define Build/Configure
endef

define Build/Compile
endef

define Package/qmp-fnf-node/install
	$(INSTALL_DIR) $(1)/etc/config
	$(CP) ./files/etc/config/qmp $(1)/etc/config/qmp
endef
Isaac Wilder's avatar
Isaac Wilder committed
74
75
76

$(eval $(call BuildPackage,qmp-fnf-node))