blob: c920abeb0d1dee93ed48c13bce555088f7fdf421 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001#
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
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=gre
11PKG_RELEASE:=13
12PKG_LICENSE:=GPL-2.0
13
14include $(INCLUDE_DIR)/package.mk
15
16define Package/gre/Default
17endef
18
19define Package/gre
20 SECTION:=net
21 CATEGORY:=Network
22 MAINTAINER:=Hans Dedecker <dedeckeh@gmail.com>
23 TITLE:=Generic Routing Encapsulation config support
24 DEPENDS:=+kmod-gre +IPV6:kmod-gre6 +resolveip
25 PROVIDES:=grev4 grev6
26 PKGARCH:=all
27endef
28
29define Package/gre/description
30 Generic Routing Encapsulation config support (IPv4 and IPv6) in /etc/config/network.
31endef
32
33define Build/Compile
34endef
35
36define Build/Configure
37endef
38
39define Package/gre/install
40 $(INSTALL_DIR) $(1)/lib/netifd/proto
41 $(INSTALL_BIN) ./files/gre.sh $(1)/lib/netifd/proto/gre.sh
42endef
43
44$(eval $(call BuildPackage,gre))