2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
16 PKG_SOURCE_URL
:=http
://v6web.litech.org
/ptrtd
/dist/
17 PKG_MD5SUM
:=bfe026445fdc4fe509a9c70ec4551744
20 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
22 include $(INCLUDE_DIR
)/package.mk
27 DEPENDS
:=+kmod-ipv6
+kmod-tun
+ip
28 TITLE
:=Portable Transport Relay Translator Daemon
30 The Portable Transport Relay Translator Daemon
(pTRTd
)\\\
31 is a method of allowing IPv6 hosts to communicate with IPv4 hosts.
32 URL
:=http
://v6web.litech.org
/ptrtd
/
36 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
37 DESTDIR
="$(PKG_INSTALL_DIR)" \
42 define Package
/ptrtd
/install
43 $(INSTALL_DIR
) $(1)/usr
/sbin
/
44 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/$(PKG_NAME
) $(1)/usr
/sbin
/
45 $(INSTALL_DIR
) $(1)/etc
/init.d
/
46 $(INSTALL_BIN
) .
/files
/ptrtd.init
$(1)/etc
/init.d
/ptrtd
49 $(eval
$(call BuildPackage
,ptrtd
))