8425361d88
git-svn-id: svn://svn.openwrt.org/openwrt/packages@14833 3c298f89-4303-0410-b956-a3cf2f4a3e73
50 lines
1.1 KiB
Makefile
50 lines
1.1 KiB
Makefile
#
|
|
# Copyright (C) 2007 OpenWrt.org
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
# $Id: Makefile 9802 2007-12-19 08:30:28Z florian $
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=6scripts
|
|
PKG_VERSION:=0.1
|
|
PKG_RELEASE:=2
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/6scripts
|
|
SECTION:=ipv6
|
|
CATEGORY:=IPv6
|
|
DEPENDS:=+kmod-ipv6
|
|
TITLE:=IPv6 scripts
|
|
endef
|
|
|
|
define Package/6tunnel/description
|
|
IPv6 scripts to setup ipv6 connectivy using 6to4 tunnels
|
|
or bridged ipv6 connectivity.
|
|
endef
|
|
|
|
define Package/6scripts/conffiles
|
|
/etc/config/6tunnel
|
|
/etc/config/6bridge
|
|
endef
|
|
|
|
define Build/Compile
|
|
endef
|
|
|
|
define Build/Configure
|
|
endef
|
|
|
|
define Package/6scripts/install
|
|
$(INSTALL_DIR) $(1)/etc/config
|
|
$(INSTALL_DATA) ./files/6tunnel.conf $(1)/etc/config/6tunnel
|
|
$(INSTALL_DATA) ./files/6bridge.conf $(1)/etc/config/6bridge
|
|
$(INSTALL_DIR) $(1)/etc/init.d
|
|
$(INSTALL_BIN) ./files/6tunnel.init $(1)/etc/init.d/6tunnel
|
|
$(INSTALL_BIN) ./files/6bridge.init $(1)/etc/init.d/6bridge
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,6scripts))
|