treewide: fix shellscript syntax errors/typos
[openwrt/staging/chunkeey.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:=8
13 PKG_LICENSE:=GPL-2.0
14
15 include $(INCLUDE_DIR)/package.mk
16
17 define Package/gre/Default
18 SECTION:=net
19 CATEGORY:=Network
20 MAINTAINER:=Hans Dedecker <dedeckeh@gmail.com>
21 endef
22
23 define Package/gre
24 $(call Package/gre/Default)
25 TITLE:=Generic Routing Encapsulation config support
26 endef
27
28 define Package/gre/description
29 Generic Routing Encapsulation config support (IPv4 and IPv6) in /etc/config/network.
30 endef
31
32 define Package/grev4
33 $(call Package/gre/Default)
34 TITLE:=Generic Routing Encapsulation (IPv4) config support
35 DEPENDS:=@(PACKAGE_gre) +kmod-gre +resolveip
36 endef
37
38 define Package/grev4/description
39 Generic Routing Encapsulation config support (IPv4) in /etc/config/network.
40 endef
41
42 define Package/grev6
43 $(call Package/gre/Default)
44 TITLE:=Generic Routing Encapsulation (IPv6) config support
45 DEPENDS:=@(PACKAGE_gre) @IPV6 +kmod-gre6 +resolveip
46 endef
47
48 define Package/grev6/description
49 Generic Routing Encapsulation config support (IPv6) in /etc/config/network.
50 endef
51
52 define Build/Compile
53 endef
54
55 define Build/Configure
56 endef
57
58 define Package/gre/install
59 $(INSTALL_DIR) $(1)/lib/netifd/proto
60 $(INSTALL_BIN) ./files/gre.sh $(1)/lib/netifd/proto/gre.sh
61 endef
62
63 define Package/grev4/install
64 :
65 endef
66
67 define Package/grev6/install
68 :
69 endef
70
71 $(eval $(call BuildPackage,gre))
72 $(eval $(call BuildPackage,grev4))
73 $(eval $(call BuildPackage,grev6))