1 # $Id: Makefile 5624 2006-11-23 00:29:07Z nbd $
3 include $(TOPDIR
)/rules.mk
9 PKG_SOURCE
:=tayga-
$(PKG_VERSION
).
tar.bz2
10 PKG_SOURCE_URL
:=http
://www.litech.org
/tayga
/
11 PKG_MD5SUM
:=7a7b24165ce008df772f398d86fa280e
14 PKG_BUILD_DIR
:=$(BUILD_DIR
)/tayga-
$(PKG_VERSION
)
16 include $(INCLUDE_DIR
)/package.mk
21 DEPENDS
:=+ip
+kmod-ipv6
+kmod-tun
22 TITLE
:=Out-of-kernel stateless NAT64 implementation for Linux
23 URL
:=http
://www.litech.org
/tayga
/
26 define Package
/tayga
/description
27 TAYGA is an out-of-kernel stateless NAT64 implementation for
28 Linux. It uses the TUN driver to exchange packets with the
29 kernel
, which is the same driver used by OpenVPN and QEMU
/KVM.
32 # TODO: port scripts to netifd
33 ifdef CONFIG_PACAKGE_netifd
34 define Package
/tayga
/install
35 $(INSTALL_DIR
) $(1)/usr
/sbin
36 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/tayga
$(1)/usr
/sbin
/
39 define Package
/tayga
/install
40 $(INSTALL_DIR
) $(1)/usr
/sbin
$(1)/lib
/network
$(1)/etc
/hotplug.d
/iface
41 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/tayga
$(1)/usr
/sbin
/
42 $(INSTALL_DATA
) .
/files
/tayga.sh
$(1)/lib
/network
/tayga.sh
43 $(INSTALL_DATA
) .
/files
/tayga.hotplug
$(1)/etc
/hotplug.d
/iface
/95-tayga
47 $(eval
$(call BuildPackage
,tayga
))