1 include $(TOPDIR)/rules.mk
7 PKG_SOURCE:=ndyndns-$(PKG_VERSION).tar.gz
8 PKG_SOURCE_URL:=http://ndyndns.googlecode.com/files
9 PKG_MD5SUM:=1ca356cf366cd617fe3fb5fad9eb961b
11 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
14 include $(INCLUDE_DIR)/package.mk
16 MAKE_FLAGS:=PLATFORM=linux
18 define Package/ndyndns
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))