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
15 include $(INCLUDE_DIR
)/package.mk
20 DEPENDS
:=@IPV6
+kmod-sit
21 TITLE
:=6rd configuration support
22 MAINTAINER
:=Steven Barth
<cyrus@openwrt.org
>
26 define Package
/6rd
/description
27 Provides support for
6rd tunnels in
/etc
/config
/network.
28 Refer to http
://wiki.openwrt.org
/doc
/uci
/network for
29 configuration details.
32 define Build
/Configure
36 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
38 CFLAGS
="$(TARGET_CFLAGS) -Wall" \
39 LDFLAGS
="$(TARGET_LDFLAGS)"
42 define Package
/6rd
/install
43 $(INSTALL_DIR
) $(1)/usr
/sbin
44 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/6rdcalc
$(1)/usr
/sbin
/
45 $(INSTALL_DIR
) $(1)/lib
/netifd
/proto
46 $(INSTALL_BIN
) .
/files
/6rd.sh
$(1)/lib
/netifd
/proto
/6rd.sh
49 $(eval
$(call BuildPackage
,6rd
))