2 # Copyright (C) 2008-2012 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
://ndyndns.googlecode.com
/files
16 PKG_MD5SUM
:=0cdb4dcba5f8c1664f53884b3c2179e9
20 include $(INCLUDE_DIR
)/package.mk
22 MAKE_FLAGS
:=PLATFORM
=linux
24 define Package
/ndyndns
27 SUBMENU
:=IP Addresses and Names
28 TITLE
:=DynDNS.com update daemon
29 URL
:=http
://ndyndns.googlecode.com
/
30 DEPENDS
:=+libcurl
+libopenssl
33 define Package
/ndyndns
/description
34 The ndyndns daemon is an update client for DynDNS.com. It
35 checks for an IP address change every two minutes
, avoids
36 unnecessary updates
, reports errors
, logs to syslog
, and
37 generally complies with everything required of a proper dyndns
41 define Package
/ndyndns
/conffiles
42 /etc
/ndyndns
/ndyndns.conf.sample
45 define Package
/ndyndns
/install
46 $(INSTALL_DIR
) $(1)/usr
/sbin
47 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/ndyndns
$(1)/usr
/sbin
/
48 $(INSTALL_DIR
) $(1)/etc
/init.d
/
49 $(INSTALL_BIN
) files
/ndyndns.init
$(1)/etc
/init.d
/ndyndns
50 $(INSTALL_DIR
) $(1)/etc
/ndyndns
51 $(INSTALL_CONF
) files
/ndyndns.conf.sample
$(1)/etc
/ndyndns
54 $(eval
$(call BuildPackage
,ndyndns
))