1
0

Makefile 914 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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:=11
  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. PKGARCH:=all
  23. endef
  24. define Package/gre/description
  25. Generic Routing Encapsulation config support (IPv4 and IPv6) in /etc/config/network.
  26. endef
  27. define Build/Compile
  28. endef
  29. define Build/Configure
  30. endef
  31. define Package/gre/install
  32. $(INSTALL_DIR) $(1)/lib/netifd/proto
  33. $(INSTALL_BIN) ./files/gre.sh $(1)/lib/netifd/proto/gre.sh
  34. endef
  35. $(eval $(call BuildPackage,gre))