1 include $(TOPDIR)/rules.mk
7 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
8 PKG_SOURCE_URL:=http://ndyndns.googlecode.com/files
9 PKG_MD5SUM:=0cdb4dcba5f8c1664f53884b3c2179e9
13 include $(INCLUDE_DIR)/package.mk
15 MAKE_FLAGS:=PLATFORM=linux
17 define Package/ndyndns
20 SUBMENU:=IP Addresses and Names
21 TITLE:=DynDNS.com update daemon
22 URL:=http://ndyndns.googlecode.com/
23 DEPENDS:=+libcurl +libopenssl
26 define Package/ndyndns/description
27 The ndyndns daemon is an update client for DynDNS.com. It
28 checks for an IP address change every two minutes, avoids
29 unnecessary updates, reports errors, logs to syslog, and
30 generally complies with everything required of a proper dyndns
34 define Package/ndyndns/conffiles
35 /etc/ndyndns/ndyndns.conf.sample
39 define Package/ndyndns/install
40 $(INSTALL_DIR) $(1)/usr/sbin
41 $(INSTALL_BIN) $(PKG_BUILD_DIR)/ndyndns $(1)/usr/sbin
42 $(INSTALL_DIR) $(1)/etc/default
43 $(INSTALL_BIN) files/$(PKG_NAME).default $(1)/etc/default/$(PKG_NAME)
44 $(INSTALL_DIR) $(1)/etc/init.d/
45 $(INSTALL_BIN) files/$(PKG_NAME).init $(1)/etc/init.d/$(PKG_NAME)
46 $(INSTALL_DIR) $(1)/etc/$(PKG_NAME)
47 $(INSTALL_CONF) files/$(PKG_NAME).conf.sample $(1)/etc/$(PKG_NAME)
50 $(eval $(call BuildPackage,ndyndns))