OpenWrt – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | # |
2 | # Copyright (C) 2010-2012 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:=6rd |
||
11 | PKG_VERSION:=9 |
||
12 | PKG_RELEASE:=4 |
||
13 | PKG_LICENSE:=GPL-2.0 |
||
14 | |||
15 | include $(INCLUDE_DIR)/package.mk |
||
16 | |||
17 | define Package/6rd |
||
18 | SECTION:=net |
||
19 | CATEGORY:=Network |
||
20 | DEPENDS:=@IPV6 +kmod-sit |
||
21 | TITLE:=6rd configuration support |
||
22 | MAINTAINER:=Steven Barth <cyrus@openwrt.org> |
||
23 | PKGARCH:=all |
||
24 | endef |
||
25 | |||
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. |
||
30 | endef |
||
31 | |||
32 | define Build/Configure |
||
33 | endef |
||
34 | |||
35 | define Build/Compile |
||
36 | $(MAKE) -C $(PKG_BUILD_DIR) \ |
||
37 | CC="$(TARGET_CC)" \ |
||
38 | CFLAGS="$(TARGET_CFLAGS) -Wall" \ |
||
39 | LDFLAGS="$(TARGET_LDFLAGS)" |
||
40 | endef |
||
41 | |||
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 |
||
47 | endef |
||
48 | |||
49 | $(eval $(call BuildPackage,6rd)) |