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_HASH
:=2b1f7927a9d2dcff9095aff3c271924b052ccfd2faca9588b277431a44f0009c
13 PKG_LICENSE_FILES
:=COPYING
17 include $(INCLUDE_DIR
)/package.mk
22 DEPENDS
:=+ip @IPV6
+kmod-tun
23 TITLE
:=Out-of-kernel stateless NAT64 implementation for Linux
24 URL
:=http
://www.litech.org
/tayga
/
25 MAINTAINER
:=Ondrej Caletka
<ondrej@caletka.cz
>
28 define Package
/tayga
/description
29 TAYGA is an out-of-kernel stateless NAT64 implementation for
30 Linux. It uses the TUN driver to exchange packets with the
31 kernel
, which is the same driver used by OpenVPN and QEMU
/KVM.
34 ifdef CONFIG_PACKAGE_netifd
35 define Package
/tayga
/install
36 $(INSTALL_DIR
) $(1)/usr
/sbin
$(1)/lib
/netifd
/proto
37 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/tayga
$(1)/usr
/sbin
/
38 $(INSTALL_BIN
) .
/files
/tayga-proto.sh
$(1)/lib
/netifd
/proto
/tayga.sh
41 define Package
/tayga
/install
42 $(INSTALL_DIR
) $(1)/usr
/sbin
$(1)/lib
/network
$(1)/etc
/hotplug.d
/iface
43 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/tayga
$(1)/usr
/sbin
/
44 $(INSTALL_DATA
) .
/files
/tayga.sh
$(1)/lib
/network
/tayga.sh
45 $(INSTALL_DATA
) .
/files
/tayga.hotplug
$(1)/etc
/hotplug.d
/iface
/95-tayga
49 $(eval
$(call BuildPackage
,tayga
))