gre: make encaplimit support configurable
[openwrt/openwrt.git] / package / network / config / gre / Makefile
1 #
2 # Copyright (C) 2014 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=gre
11 PKG_VERSION:=1
12 PKG_RELEASE:=9
13 PKG_LICENSE:=GPL-2.0
14
15 include $(INCLUDE_DIR)/package.mk
16
17 define Package/gre/Default
18 endef
19
20 define Package/gre
21 SECTION:=net
22 CATEGORY:=Network
23 MAINTAINER:=Hans Dedecker <dedeckeh@gmail.com>
24 TITLE:=Generic Routing Encapsulation config support
25 DEPENDS:=+kmod-gre +IPV6:kmod-gre6 +resolveip
26 PROVIDES:=grev4 grev6
27 endef
28
29 define Package/gre/description
30 Generic Routing Encapsulation config support (IPv4 and IPv6) in /etc/config/network.
31 endef
32
33 define Build/Compile
34 endef
35
36 define Build/Configure
37 endef
38
39 define Package/gre/install
40 $(INSTALL_DIR) $(1)/lib/netifd/proto
41 $(INSTALL_BIN) ./files/gre.sh $(1)/lib/netifd/proto/gre.sh
42 endef
43
44 $(eval $(call BuildPackage,gre))