nuke $Id$ in /packages as well
[openwrt/svn-archive/archive.git] / ipv6 / 6scripts / Makefile
1 #
2 # Copyright (C) 2007 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=6scripts
11 PKG_VERSION:=0.1
12 PKG_RELEASE:=3
13
14 include $(INCLUDE_DIR)/package.mk
15
16 define Package/6scripts
17 SECTION:=ipv6
18 CATEGORY:=IPv6
19 DEPENDS:=+kmod-ipv6
20 TITLE:=IPv6 scripts
21 endef
22
23 define Package/6tunnel/description
24 IPv6 scripts to setup ipv6 connectivy using 6to4 tunnels
25 or bridged ipv6 connectivity.
26 endef
27
28 define Package/6scripts/conffiles
29 /etc/config/6tunnel
30 /etc/config/6bridge
31 endef
32
33 define Build/Compile
34 endef
35
36 define Build/Configure
37 endef
38
39 define Package/6scripts/install
40 $(INSTALL_DIR) $(1)/etc/config
41 $(INSTALL_DATA) ./files/6tunnel.conf $(1)/etc/config/6tunnel
42 $(INSTALL_DATA) ./files/6bridge.conf $(1)/etc/config/6bridge
43 $(INSTALL_DIR) $(1)/etc/init.d
44 $(INSTALL_BIN) ./files/6tunnel.init $(1)/etc/init.d/6tunnel
45 $(INSTALL_BIN) ./files/6bridge.init $(1)/etc/init.d/6bridge
46 $(INSTALL_DIR) $(1)/etc/ppp/ip-up.d/
47 $(INSTALL_DATA) ./files/he-tun.ppp $(1)/etc/ppp/ip-up.d/
48 endef
49
50 $(eval $(call BuildPackage,6scripts))