x86: Add kmod-dwmac-intel
[openwrt/staging/hauke.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_RELEASE:=13
12 PKG_LICENSE:=GPL-2.0
13
14 include $(INCLUDE_DIR)/package.mk
15
16 define Package/gre/Default
17 endef
18
19 define 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
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))