#
# Copyright (c) 2014 Technicolor
# All Rights Reserved
#
# This program contains proprietary information which is a trade
# secret of TECHNICOLOR and/or its affiliates and also is protected as
# an unpublished work under applicable Copyright laws. Recipient is
# to retain this program in confidence and is not permitted to use or
# make copies thereof other than as permitted in a written agreement
# with TECHNICOLOR, UNLESS OTHERWISE EXPRESSLY ALLOWED BY APPLICABLE LAWS.
#
include $(TOPDIR)/rules.mk

PKG_NAME:=ipip
PKG_VERSION:=1
PKG_RELEASE:=1

include $(INCLUDE_DIR)/package.mk

define Package/ipip
  CATEGORY:=Technicolor
  SUBMENU:=Network
  MAINTAINER:=zhang junwei <junwei.zhang@technicolor.com>
  SECTION:=ipip
  TITLE:=IP IN IP Tunnel config support
  DEPENDS:= +kmod-ipip
endef

define Package/ipip/description
 IP IN IP Tunnel config support in /etc/config/network.
endef

define Build/Compile
endef

define Build/Configure
endef

define Package/ipip/install
	$(INSTALL_DIR) $(1)/lib/netifd/proto
	$(INSTALL_BIN) ./files/ipip.sh $(1)/lib/netifd/proto/ipip.sh
endef

$(eval $(call BuildPackage,ipip))
