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://www.dillema.net/software/totd
16 PKG_MD5SUM:=7edaedae9f6aca5912dd6c123582cf08
18 include $(INCLUDE_DIR)/package.mk
24 TITLE:=Small DNS proxy that supports IPv6/IPv4 record translation
25 URL:=http://www.dillema.net/software/totd.html
28 define Package/totd/description
29 totd is a small DNS proxy nameserver which supports IPv6 and enable IPv6
30 only sites to access IPv4 sites by using some translation mechanism such
31 as NAT-PT, KAME faith, etc...
34 define Package/totd/conffiles
41 $(MAKE) -C $(PKG_BUILD_DIR) \
42 DESTDIR="$(PKG_INSTALL_DIR)" \
47 define Package/totd/install
48 $(INSTALL_DIR) $(1)/usr/sbin/
49 $(INSTALL_BIN) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/sbin/
50 $(INSTALL_DIR) $(1)/etc/
51 $(INSTALL_CONF) ./files/totd.conf $(1)/etc/
52 $(INSTALL_DIR) $(1)/etc/init.d/
53 $(INSTALL_BIN) ./files/totd.init $(1)/etc/init.d/totd
56 define Package/totd/conffiles
60 $(eval $(call BuildPackage,totd))