package/network: add PKGARCH:=all to non-binary packages
[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:=11
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 PKGARCH:=all
28 endef
29
30 define Package/gre/description
31 Generic Routing Encapsulation config support (IPv4 and IPv6) in /etc/config/network.
32 endef
33
34 define Build/Compile
35 endef
36
37 define Build/Configure
38 endef
39
40 define Package/gre/install
41 $(INSTALL_DIR) $(1)/lib/netifd/proto
42 $(INSTALL_BIN) ./files/gre.sh $(1)/lib/netifd/proto/gre.sh
43 endef
44
45 $(eval $(call BuildPackage,gre))