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:=gre
  9. PKG_RELEASE:=13
  10. PKG_LICENSE:=GPL-2.0
  11. include $(INCLUDE_DIR)/package.mk
  12. define Package/gre/Default
  13. endef
  14. define Package/gre
  15. SECTION:=net
  16. CATEGORY:=Network
  17. MAINTAINER:=Hans Dedecker <dedeckeh@gmail.com>
  18. TITLE:=Generic Routing Encapsulation config support
  19. DEPENDS:=+kmod-gre +IPV6:kmod-gre6 +resolveip
  20. PROVIDES:=grev4 grev6
  21. PKGARCH:=all
  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))