Makefile 899 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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:=vti
  9. PKG_RELEASE:=5
  10. PKG_LICENSE:=GPL-2.0
  11. include $(INCLUDE_DIR)/package.mk
  12. define Package/vti/Default
  13. endef
  14. define Package/vti
  15. SECTION:=net
  16. CATEGORY:=Network
  17. MAINTAINER:=Andre Valentin <[email protected]>
  18. TITLE:=Virtual IPsec Tunnel Interface config support
  19. DEPENDS:=+kmod-ip-vti +IPV6:kmod-ip6-vti
  20. PROVIDES:=vtiv4 vtiv6
  21. PKGARCH:=all
  22. endef
  23. define Package/vti/description
  24. Virtual IPsec Tunnel Interface config support (IPv4 and IPv6) in /etc/config/network.
  25. endef
  26. define Build/Compile
  27. endef
  28. define Build/Configure
  29. endef
  30. define Package/vti/install
  31. $(INSTALL_DIR) $(1)/lib/netifd/proto
  32. $(INSTALL_BIN) ./files/vti.sh $(1)/lib/netifd/proto/vti.sh
  33. endef
  34. $(eval $(call BuildPackage,vti))