| b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame] | 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:=ipip |
| 11 | PKG_RELEASE:=4 |
| 12 | PKG_LICENSE:=GPL-2.0 |
| 13 | |
| 14 | include $(INCLUDE_DIR)/package.mk |
| 15 | |
| 16 | define Package/ipip |
| 17 | SECTION:=net |
| 18 | CATEGORY:=Network |
| 19 | MAINTAINER:=Hans Dedecker <dedeckeh@gmail.com> |
| 20 | TITLE:=IP in IP Tunnel config support |
| 21 | DEPENDS:= +kmod-ipip +resolveip |
| 22 | PKGARCH:=all |
| 23 | endef |
| 24 | |
| 25 | define Package/ipip/description |
| 26 | IP in IP Tunnel config support in /etc/config/network. |
| 27 | endef |
| 28 | |
| 29 | define Build/Compile |
| 30 | endef |
| 31 | |
| 32 | define Build/Configure |
| 33 | endef |
| 34 | |
| 35 | define Package/ipip/install |
| 36 | $(INSTALL_DIR) $(1)/lib/netifd/proto |
| 37 | $(INSTALL_BIN) ./files/ipip.sh $(1)/lib/netifd/proto/ipip.sh |
| 38 | endef |
| 39 | |
| 40 | $(eval $(call BuildPackage,ipip)) |