2 # Copyright (C) 2014-2015 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
15 include $(INCLUDE_DIR)/package.mk
16 include $(INCLUDE_DIR)/cmake.mk
21 DEPENDS:=@IPV6 +kmod-ip6-tunnel +libubox +libubus +iptables-mod-conntrack-extra
22 TITLE:=MAP-E and Lightweight 4over6 configuration support
23 MAINTAINER:=Hans Dedecker <dedeckeh@gmail.com>
26 define Package/map/description
27 Provides support for MAP-E (draft-ietf-softwire-map) and
28 Lightweight 4over6 (draft-ietf-softwire-lw4over6) in /etc/config/network.
29 Refer to http://wiki.openwrt.org/doc/uci/network for
30 configuration details.
33 define Package/map/install
34 $(INSTALL_DIR) $(1)/lib/netifd/proto
35 $(INSTALL_BIN) ./files/map.sh $(1)/lib/netifd/proto/map.sh
36 $(INSTALL_DIR) $(1)/usr/sbin
37 $(INSTALL_BIN) $(PKG_BUILD_DIR)/mapcalc $(1)/usr/sbin/
40 $(eval $(call BuildPackage,map))