Makefile 898 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:=gre
  9. PKG_VERSION:=1
  10. PKG_RELEASE:=9
  11. PKG_LICENSE:=GPL-2.0
  12. include $(INCLUDE_DIR)/package.mk
  13. define Package/gre/Default
  14. endef
  15. define Package/gre
  16. SECTION:=net
  17. CATEGORY:=Network
  18. MAINTAINER:=Hans Dedecker <dedeckeh@gmail.com>
  19. TITLE:=Generic Routing Encapsulation config support
  20. DEPENDS:=+kmod-gre +IPV6:kmod-gre6 +resolveip
  21. PROVIDES:=grev4 grev6
  22. endef
  23. define Package/gre/description
  24. Generic Routing Encapsulation 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/gre/install
  31. $(INSTALL_DIR) $(1)/lib/netifd/proto
  32. $(INSTALL_BIN) ./files/gre.sh $(1)/lib/netifd/proto/gre.sh
  33. endef
  34. $(eval $(call BuildPackage,gre))