source: packages/ipv6/6scripts/Makefile @ 21103

Last change on this file since 21103 was 21103, checked in by jow, 7 years ago

[packages] 6scripts: fix incorrect route command (#7203)

File size: 1.1 KB
Line 
1#
2# Copyright (C) 2007-2009 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=6scripts
11PKG_VERSION:=0.1
12PKG_RELEASE:=6
13
14include $(INCLUDE_DIR)/package.mk
15
16define Package/6scripts
17  SECTION:=ipv6
18  CATEGORY:=IPv6
19  DEPENDS:=+kmod-ipv6
20  TITLE:=IPv6 scripts
21  PKGARCH:=all
22endef
23
24define Package/6scripts/description
25IPv6 scripts to setup ipv6 connectivy using 6to4 tunnels
26or bridged ipv6 connectivity.
27endef
28
29define Package/6scripts/conffiles
30/etc/config/6tunnel
31/etc/config/6bridge
32endef
33
34define Build/Compile
35endef
36
37define Build/Configure
38endef
39
40define 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/
49endef
50
51$(eval $(call BuildPackage,6scripts))
Note: See TracBrowser for help on using the repository browser.