2
0

Makefile 931 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. #
  2. # Copyright (C) 2013 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:=ds-lite
  9. PKG_VERSION:=7
  10. PKG_RELEASE:=2
  11. PKG_LICENSE:=GPL-2.0
  12. include $(INCLUDE_DIR)/package.mk
  13. define Package/ds-lite
  14. SECTION:=net
  15. CATEGORY:=Network
  16. DEPENDS:=@IPV6 +kmod-ip6-tunnel +resolveip
  17. TITLE:=Dual-Stack Lite (DS-Lite) configuration support
  18. MAINTAINER:=Steven Barth <steven@midlink.org>
  19. PKGARCH:=all
  20. endef
  21. define Package/ds-lite/description
  22. Provides support for Dual-Stack Lite in /etc/config/network.
  23. Refer to http://wiki.openwrt.org/doc/uci/network for
  24. configuration details.
  25. endef
  26. define Build/Compile
  27. endef
  28. define Build/Configure
  29. endef
  30. define Package/ds-lite/install
  31. $(INSTALL_DIR) $(1)/lib/netifd/proto
  32. $(INSTALL_BIN) ./files/dslite.sh $(1)/lib/netifd/proto/dslite.sh
  33. endef
  34. $(eval $(call BuildPackage,ds-lite))