Makefile 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. #
  2. # Copyright (C) 2010-2012 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:=ipv6-support
  9. PKG_VERSION:=2012-11-29
  10. PKG_RELEASE:=1
  11. include $(INCLUDE_DIR)/package.mk
  12. define Package/ipv6-support
  13. SECTION:=ipv6
  14. CATEGORY:=IPv6
  15. DEPENDS:=+kmod-ipv6 +6relayd +odhcp6c +6distributed +ip6tables +ubus
  16. TITLE:=Basic IPv6-support for Customer Edge Routers
  17. MAINTAINER:=Steven Barth <[email protected]>
  18. PKGARCH:=all
  19. endef
  20. define Package/ipv6-support/description
  21. This package provides basic IPv6 support including Router Discovery,
  22. DHCPv6 (client & server), prefix delegation and distribution.
  23. endef
  24. define Build/Compile
  25. endef
  26. define Build/Configure
  27. endef
  28. define Package/ipv6-support/conffiles
  29. /etc/config/network6
  30. endef
  31. define Package/ipv6-support/install
  32. $(INSTALL_DIR) $(1)/etc/hotplug.d/iface
  33. $(INSTALL_DATA) ./files/ipv6.hotplug $(1)/etc/hotplug.d/iface/20-ipv6
  34. $(INSTALL_DIR) $(1)/lib/ipv6
  35. $(INSTALL_DATA) ./files/support.sh $(1)/lib/ipv6/support.sh
  36. $(INSTALL_BIN) ./files/dhcpv6.sh $(1)/lib/ipv6/dhcpv6.sh
  37. $(INSTALL_DIR) $(1)/etc/config
  38. $(INSTALL_DATA) ./files/network6.config $(1)/etc/config/network6
  39. endef
  40. $(eval $(call BuildPackage,ipv6-support))