2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR)/rules.mk
14 PKG_MD5SUM:=2957496de0c8e08e9c6492fabf1a88be
16 PKG_SOURCE_URL:=http://savannah.nongnu.org/download/updatedd/
17 PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.gz
20 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
21 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
23 include $(INCLUDE_DIR)/package.mk
25 define Package/updatedd
29 TITLE:=A tool to update dynamic dns services
30 DESCRIPTION:=Updatedd is a small tool that will update one of many dynamic\\\
31 dns services on boot.\\\
32 Please look at the /etc/init.d/ddns script for more info.\\\
33 URL:=http://www.philipp-benner.de/updatedd/
36 define Package/updatedd-mod-changeip
43 define Package/updatedd-mod-dyndns
50 define Package/updatedd-mod-eurodyndns
57 define Package/updatedd-mod-hn
64 define Package/updatedd-mod-noip
71 define Package/updatedd-mod-ods
78 define Package/updatedd-mod-ovh
85 define Package/updatedd-mod-regfish
92 define Package/updatedd-mod-tzo
100 $(call Build/Compile/Default,DESTDIR="$(PKG_INSTALL_DIR)" \
105 define Package/$(1)/install
106 install -d -m0755 $$(1)/usr/lib/updatedd
107 install -m0755 $(PKG_INSTALL_DIR)/usr/lib/updatedd/$(2).so $$(1)/usr/lib/updatedd/
110 $$(eval $$(call BuildPackage,$(1)))
113 define Package/updatedd/install
114 install -d -m0755 $(1)/etc/init.d
115 install -m0755 ./files/ddns.init $(1)/etc/init.d/ddns
116 install -d -m0755 $(1)/usr/bin
117 $(CP) $(PKG_INSTALL_DIR)/usr/bin/updatedd $(1)/usr/bin/
118 install -d -m0755 $(1)/usr/lib/updatedd
121 $(eval $(call BuildPackage,updatedd))
122 $(eval $(call BuildPlugin,updatedd-mod-changeip,changeip))
123 $(eval $(call BuildPlugin,updatedd-mod-dyndns,dyndns))
124 $(eval $(call BuildPlugin,updatedd-mod-eurodyndns,eurodyndns))
125 $(eval $(call BuildPlugin,updatedd-mod-hn,hn))
126 $(eval $(call BuildPlugin,updatedd-mod-noip,noip))
127 $(eval $(call BuildPlugin,updatedd-mod-ods,ods))
128 $(eval $(call BuildPlugin,updatedd-mod-ovh,ovh))
129 $(eval $(call BuildPlugin,updatedd-mod-regfish,regfish))
130 $(eval $(call BuildPlugin,updatedd-mod-tzo,tzo))