[net] IP Addresses and Names: Moved DHCP, DNS, mDNS, and DDNS program into IP Address...
[packages.git] / net / ndyndns / Makefile
1 include $(TOPDIR)/rules.mk
2
3 PKG_NAME:=ndyndns
4 PKG_VERSION:=2.1
5 PKG_RELEASE:=1
6
7 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
8 PKG_SOURCE_URL:=http://ndyndns.googlecode.com/files
9 PKG_MD5SUM:=0cdb4dcba5f8c1664f53884b3c2179e9
10
11 PKG_FIXUP = libtool
12
13 include $(INCLUDE_DIR)/package.mk
14
15 MAKE_FLAGS:=PLATFORM=linux
16
17 define Package/ndyndns
18   SECTION:=net
19   CATEGORY:=Network
20   SUBMENU:=IP Addresses and Names
21   TITLE:=DynDNS.com update daemon
22   URL:=http://ndyndns.googlecode.com/
23   DEPENDS:=+libcurl +libopenssl
24 endef
25
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
31         client.
32 endef
33
34 define Package/ndyndns/conffiles
35 /etc/ndyndns/ndyndns.conf.sample
36 /etc/default/ndyndns
37 endef
38
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)
48 endef
49
50 $(eval $(call BuildPackage,ndyndns))