2 # Copyright (C) 2007-2009 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
16 define Package/6scripts
24 define Package/6scripts/description
25 IPv6 scripts to setup ipv6 connectivy using 6to4 tunnels
26 or bridged ipv6 connectivity.
29 define Package/6scripts/conffiles
37 define Build/Configure
40 define Package/6scripts/install
41 $(INSTALL_DIR) $(1)/etc/config
42 $(INSTALL_DATA) ./files/6tunnel.conf $(1)/etc/config/6tunnel
43 $(INSTALL_DATA) ./files/6bridge.conf $(1)/etc/config/6bridge
44 $(INSTALL_DIR) $(1)/etc/init.d
45 $(INSTALL_BIN) ./files/6tunnel.init $(1)/etc/init.d/6tunnel
46 $(INSTALL_BIN) ./files/6bridge.init $(1)/etc/init.d/6bridge
47 $(INSTALL_DIR) $(1)/etc/ppp/ip-up.d/
48 $(INSTALL_DATA) ./files/he-tun.ppp $(1)/etc/ppp/ip-up.d/
51 $(eval $(call BuildPackage,6scripts))