2
0

Makefile 789 B

12345678910111213141516171819202122232425262728293031323334353637383940
  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. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=ipip
  9. PKG_VERSION:=1
  10. PKG_RELEASE:=2
  11. PKG_LICENSE:=GPL-2.0
  12. include $(INCLUDE_DIR)/package.mk
  13. define Package/ipip
  14. SECTION:=net
  15. CATEGORY:=Network
  16. MAINTAINER:=Hans Dedecker <dedeckeh@gmail.com>
  17. TITLE:=IP in IP Tunnel config support
  18. DEPENDS:= +kmod-ipip +resolveip
  19. endef
  20. define Package/ipip/description
  21. IP in IP Tunnel config support in /etc/config/network.
  22. endef
  23. define Build/Compile
  24. endef
  25. define Build/Configure
  26. endef
  27. define Package/ipip/install
  28. $(INSTALL_DIR) $(1)/lib/netifd/proto
  29. $(INSTALL_BIN) ./files/ipip.sh $(1)/lib/netifd/proto/ipip.sh
  30. endef
  31. $(eval $(call BuildPackage,ipip))