Makefile 916 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  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_RELEASE:=8
  10. PKG_LICENSE:=GPL-2.0
  11. include $(INCLUDE_DIR)/package.mk
  12. define Package/ds-lite
  13. SECTION:=net
  14. CATEGORY:=Network
  15. DEPENDS:=@IPV6 +kmod-ip6-tunnel +resolveip
  16. TITLE:=Dual-Stack Lite (DS-Lite) configuration support
  17. MAINTAINER:=Steven Barth <steven@midlink.org>
  18. PKGARCH:=all
  19. endef
  20. define Package/ds-lite/description
  21. Provides support for Dual-Stack Lite 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/ds-lite/install
  30. $(INSTALL_DIR) $(1)/lib/netifd/proto
  31. $(INSTALL_BIN) ./files/dslite.sh $(1)/lib/netifd/proto/dslite.sh
  32. endef
  33. $(eval $(call BuildPackage,ds-lite))