summaryrefslogtreecommitdiff
path: root/package/inadyn/inadyn.mk
diff options
context:
space:
mode:
authorDavid Purdy <david.c.purdy@gmail.com>2012-06-19 06:37:34 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2012-06-23 22:41:48 +0200
commit8ac6a2f94c35353f8fbf0906e232dc568bae3212 (patch)
treea5d764c72859036545192a47802a2e941d16d202 /package/inadyn/inadyn.mk
parent7944f19740497e68287b612db6a63e94e3cc1fe5 (diff)
inadyn: add package for inadyn DDNS client-updater
inadyn is a DynamicDNS client/updater which works with dyndns.com, noip.com and many other DDNS providers. It is minimal in footprint and requirements, supports IP caching, multiple providers, multiple domain names, and a variety of other situations. [Peter: fixup whitespace / trailing spaces] Signed-off-by: Dave Purdy <david.c.purdy@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/inadyn/inadyn.mk')
-rw-r--r--package/inadyn/inadyn.mk23
1 files changed, 23 insertions, 0 deletions
diff --git a/package/inadyn/inadyn.mk b/package/inadyn/inadyn.mk
new file mode 100644
index 000000000..5cba77baa
--- /dev/null
+++ b/package/inadyn/inadyn.mk
@@ -0,0 +1,23 @@
+#############################################################
+#
+# inadyn
+#
+#############################################################
+
+INADYN_VERSION = 1.98.1
+INADYN_SOURCE = inadyn-$(INADYN_VERSION).tar.bz2
+INADYN_SITE = https://github.com/downloads/troglobit/inadyn
+
+define INADYN_BUILD_CMDS
+ $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)
+endef
+
+define INADYN_INSTALL_TARGET_CMDS
+ $(INSTALL) -D -m 0755 $(@D)/src/inadyn $(TARGET_DIR)/usr/sbin/inadyn
+ $(INSTALL) -D -m 0644 package/inadyn/inadyn.conf \
+ $(TARGET_DIR)/etc/inadyn.conf
+ $(INSTALL) -D -m 0755 package/inadyn/S70inadyn \
+ $(TARGET_DIR)/etc/init.d/S70inadyn
+endef
+
+$(eval $(call GENTARGETS))