1
0

Makefile 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. #
  2. # Copyright (C) 2014-2015 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:=map
  9. PKG_VERSION:=4
  10. PKG_RELEASE:=6
  11. PKG_LICENSE:=GPL-2.0
  12. include $(INCLUDE_DIR)/package.mk
  13. include $(INCLUDE_DIR)/cmake.mk
  14. define Package/map
  15. SECTION:=net
  16. CATEGORY:=Network
  17. DEPENDS:=@IPV6 +kmod-ip6-tunnel +libubox +libubus +iptables-mod-conntrack-extra
  18. TITLE:=MAP-E and Lightweight 4over6 configuration support
  19. MAINTAINER:=Hans Dedecker <dedeckeh@gmail.com>
  20. endef
  21. define Package/map/description
  22. Provides support for MAP-E (draft-ietf-softwire-map) and
  23. Lightweight 4over6 (draft-ietf-softwire-lw4over6) in /etc/config/network.
  24. Refer to http://wiki.openwrt.org/doc/uci/network for
  25. configuration details.
  26. endef
  27. define Package/map/install
  28. $(INSTALL_DIR) $(1)/lib/netifd/proto
  29. $(INSTALL_BIN) ./files/map.sh $(1)/lib/netifd/proto/map.sh
  30. $(INSTALL_DIR) $(1)/usr/sbin
  31. $(INSTALL_BIN) $(PKG_BUILD_DIR)/mapcalc $(1)/usr/sbin/
  32. endef
  33. $(eval $(call BuildPackage,map))