source: packages/ipv6/totd/Makefile @ 27610

Last change on this file since 27610 was 27610, checked in by swalker, 5 years ago

[packages] totd: update the URLs, refresh patches, Signed-off-by: Alexey I. Froloff <raorn@…>

  • Property copyright set to Copyright (C) 2006 OpenWrt.org
  • Property svn:eol-style set to native
File size: 1.3 KB
Line 
1#
2# Copyright (C) 2006-2011 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=totd
11PKG_VERSION:=1.5.1
12PKG_RELEASE:=1
13
14PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15PKG_SOURCE_URL:=http://www.dillema.net/software/totd
16PKG_MD5SUM:=7edaedae9f6aca5912dd6c123582cf08
17
18include $(INCLUDE_DIR)/package.mk
19
20define Package/totd
21  SECTION:=ipv6
22  CATEGORY:=IPv6
23  DEPENDS:=+kmod-ipv6
24  TITLE:=Small DNS proxy that supports IPv6/IPv4 record translation
25  URL:=http://www.dillema.net/software/totd.html
26endef
27
28define 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...
32endef
33
34define Package/totd/conffiles
35/etc/totd.conf
36endef
37
38# uses GNU configure
39
40define Build/Compile
41        $(MAKE) -C $(PKG_BUILD_DIR) \
42                DESTDIR="$(PKG_INSTALL_DIR)" \
43                CC="$(TARGET_CC)" \
44                all
45endef
46
47define 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
54endef
55
56$(eval $(call BuildPackage,totd))
Note: See TracBrowser for help on using the repository browser.