Developing lightweight computation at the DSG edge

Makefile 2.16 KB
Newer Older
1
#    Copyright (C) 2011 Fundacio Privada per a la Xarxa Oberta, Lliure i Neutral guifi.net
2
#
3
4
5
6
#    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.
7
#
8
9
10
11
12
13
14
15
16
17
18
#    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".
19
20
#
# Contributors:
21
#	Pau Escrich <p4u@dabax.net>
22
23
#	Simó Albert i Beltran
#
24
25
26
27

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

Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
28
QMP_RELEASE?=3.2
29
30
QMP_CODENAME?=Clearance

31
PKG_NAME:=qmp-big-node
32
33
PKG_VERSION:=$(QMP_RELEASE)
PKG_RELEASE:=$(QMP_CODENAME)
34
35
PKG_LICENSE:=GPL-2.0+

36
37
38
39
40
41
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz

include $(INCLUDE_DIR)/package.mk

define Package/qmp-big-node
  SECTION:=net
42
  CATEGORY:=qMp
43
  TITLE:=Full-featured qMp node with addons (8 MB flash)
44
  URL:=http://qmp.cat
45
  DEPENDS:= +qmp-small-node \
46
47
	+qmp-tinyproxy +tinymce \
	+openssl-util +luci-ssl \
48
49
	+lsof +wget +bmon +bwm +ebtables +pv \
	+ndisc6 +rdisc6 +ipv6calc
50
51
52
endef

define Package/qmp-big-node/description
53
54
55
56
57
58
59
60
61
62
63
 This metapackage installs the extra addon packages for big qMp nodes:
  - BMX6 routing protocol
  - Luci web interface (HTTP/HTTPS)
  - qMp system configuration files
  - IP/TCP utils
  - b6m and libremap
  - SNMP and Munin
  - IP over IP support
  - Tinyproxy

 It is intended to be used on devices with 8 MB of flash or more.
64
65
endef

66
67
68
69
define Build/Prepare
 mkdir -p $(PKG_BUILD_DIR)
endef

70
71
72
73
74
75
define Build/Configure
endef

define Build/Compile
endef

76
77
78
79
define Package/qmp-big-node/install
    $(INSTALL_DIR) $(1)/etc/qmp
endef

80
$(eval $(call BuildPackage,qmp-big-node))