Makefile 968 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. #
  2. # Copyright (C) 2010 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:=6in4
  9. PKG_VERSION:=8
  10. PKG_RELEASE:=1
  11. include $(INCLUDE_DIR)/package.mk
  12. define Package/6in4
  13. SECTION:=ipv6
  14. CATEGORY:=IPv6
  15. DEPENDS:=+ip +kmod-ipv6 +kmod-sit
  16. TITLE:=IPv6-in-IPv4 configuration support
  17. MAINTAINER:=Jo-Philipp Wich <[email protected]>
  18. PKGARCH:=all
  19. endef
  20. define Package/6in4/description
  21. Provides support for 6in4 tunnels in /etc/config/network.
  22. Refer to http://wiki.openwrt.org/doc/uci/network for
  23. configuration details.
  24. endef
  25. define Build/Compile
  26. endef
  27. define Build/Configure
  28. endef
  29. define Package/6in4/install
  30. $(INSTALL_DIR) $(1)/lib/network
  31. $(INSTALL_DATA) ./files/6in4.sh $(1)/lib/network/6in4.sh
  32. $(INSTALL_DIR) $(1)/etc/hotplug.d/iface
  33. $(INSTALL_DATA) ./files/6in4.hotplug $(1)/etc/hotplug.d/iface/90-6in4
  34. endef
  35. $(eval $(call BuildPackage,6in4))