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_RELEASE:=4
  10. PKG_LICENSE:=GPL-2.0
  11. include $(INCLUDE_DIR)/package.mk
  12. define Package/ipip
  13. SECTION:=net
  14. CATEGORY:=Network
  15. MAINTAINER:=Hans Dedecker <[email protected]>
  16. TITLE:=IP in IP Tunnel config support
  17. DEPENDS:= +kmod-ipip +resolveip
  18. PKGARCH:=all
  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))