OpenWrt – Blame information for rev 2
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | include $(TOPDIR)/rules.mk |
2 | |||
3 | PKG_NAME:=464xlat |
||
4 | PKG_VERSION:=11 |
||
5 | |||
6 | PKG_SOURCE_DATE:=2018-01-16 |
||
7 | PKG_MAINTAINER:=Hans Dedecker <dedeckeh@gmail.com> |
||
8 | PKG_LICENSE:=GPL-2.0 |
||
9 | |||
10 | include $(INCLUDE_DIR)/package.mk |
||
11 | |||
12 | define Package/464xlat |
||
13 | SECTION:=net |
||
14 | CATEGORY:=Network |
||
15 | DEPENDS:=@IPV6 +kmod-nat46 +ip |
||
16 | TITLE:=464xlat CLAT support |
||
17 | endef |
||
18 | |||
19 | define Build/Prepare |
||
20 | $(call Build/Prepare/Default) |
||
21 | $(CP) ./src/* $(PKG_BUILD_DIR)/ |
||
22 | endef |
||
23 | |||
24 | define Build/Compile |
||
25 | $(MAKE) -C $(PKG_BUILD_DIR) \ |
||
26 | CC="$(TARGET_CC)" \ |
||
27 | CFLAGS="$(TARGET_CFLAGS) -Wall" \ |
||
28 | LDFLAGS="$(TARGET_LDFLAGS)" |
||
29 | endef |
||
30 | |||
31 | define Package/464xlat/description |
||
32 | 464xlat provides support to deploy limited IPv4 access services to mobile |
||
33 | and wireline IPv6-only edge networks without encapsulation (RFC6877) |
||
34 | endef |
||
35 | |||
36 | define Package/464xlat/install |
||
37 | $(INSTALL_DIR) $(1)/lib/netifd/proto |
||
38 | $(INSTALL_BIN) ./files/464xlat.sh $(1)/lib/netifd/proto/464xlat.sh |
||
39 | $(INSTALL_DIR) $(1)/sbin |
||
40 | $(INSTALL_BIN) $(PKG_BUILD_DIR)/464xlatcfg $(1)/sbin |
||
41 | endef |
||
42 | |||
43 | $(eval $(call BuildPackage,464xlat)) |