9836ae9361c7f26385ff0ea9ec998fc37fb214be
2 # Copyright (C) 2010-2012 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
14 include $(INCLUDE_DIR
)/package.mk
19 DEPENDS
:=@IPV6
+kmod-sit
20 TITLE
:=6rd configuration support
21 MAINTAINER
:=Steven Barth
<cyrus@openwrt.org
>
25 define Package
/6rd
/description
26 Provides support for
6rd tunnels in
/etc
/config
/network.
27 Refer to http
://wiki.openwrt.org
/doc
/uci
/network for
28 configuration details.
31 define Build
/Configure
35 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
37 CFLAGS
="$(TARGET_CFLAGS) -Wall" \
38 LDFLAGS
="$(TARGET_LDFLAGS)"
41 define Package
/6rd
/install
42 $(INSTALL_DIR
) $(1)/usr
/sbin
43 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/6rdcalc
$(1)/usr
/sbin
/
44 $(INSTALL_DIR
) $(1)/lib
/netifd
/proto
45 $(INSTALL_BIN
) .
/files
/6rd.sh
$(1)/lib
/netifd
/proto
/6rd.sh
48 $(eval
$(call BuildPackage
,6rd
))