2 # Copyright (C) 2006-2011 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://v6web.litech.org/ptrtd/dist/
16 PKG_MD5SUM:=bfe026445fdc4fe509a9c70ec4551744
18 include $(INCLUDE_DIR)/package.mk
23 DEPENDS:=+kmod-ipv6 +kmod-tun +ip
24 TITLE:=Portable Transport Relay Translator Daemon
25 URL:=http://v6web.litech.org/ptrtd/
28 define Package/ptrtd/description
29 The Portable Transport Relay Translator Daemon (pTRTd)
30 is a method of allowing IPv6 hosts to communicate with IPv4 hosts.
34 CFLAGS="$(TARGET_CFLAGS)"
36 define Package/ptrtd/install
37 $(INSTALL_DIR) $(1)/usr/sbin/
38 $(INSTALL_BIN) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/sbin/
39 $(INSTALL_DIR) $(1)/etc/init.d/
40 $(INSTALL_BIN) ./files/ptrtd.init $(1)/etc/init.d/ptrtd
43 $(eval $(call BuildPackage,ptrtd))