2 # Copyright (C) 2007-2008 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_URL
:=http
://downloads.openwrt.org
/sources
/
15 PKG_SOURCE
:=$(PKG_NAME
)_
$(PKG_VERSION
).
tar.bz2
16 PKG_MD5SUM
:=f03446105ed043cd5dbd1ab95484d27f
18 include $(INCLUDE_DIR
)/package.mk
20 define Package
/updatedd
24 TITLE
:=A tool to update dynamic dns services
25 URL
:=http
://savannah.nongnu.org
/projects
/updatedd
/
28 define Package
/updatedd
/description
29 Updatedd is a small tool that will update one of many dynamic
31 Please look at the
/etc
/init.d
/ddns script for more
info.
35 define Package
/updatedd-mod-changeip
42 define Package
/updatedd-mod-dyndns
49 define Package
/updatedd-mod-eurodyndns
56 define Package
/updatedd-mod-hn
63 define Package
/updatedd-mod-noip
70 define Package
/updatedd-mod-ods
77 define Package
/updatedd-mod-ovh
84 define Package
/updatedd-mod-regfish
91 define Package
/updatedd-mod-tzo
98 define Package
/updatedd-mod-zoneedit
106 DESTDIR
="$(PKG_INSTALL_DIR)" \
109 define Build
/Configure
110 (cd
$(PKG_BUILD_DIR
); aclocal
&& autoconf
&& automake
)
111 $(call Build
/Configure
/Default
)
115 define Package
/$(1)/install
116 $(INSTALL_DIR
) $$(1)/usr
/lib
/updatedd
117 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/updatedd
/$(2).so
* $$(1)/usr
/lib
/updatedd
/
120 $$(eval
$$(call BuildPackage
,$(1)))
123 define Package
/updatedd
/install
124 $(INSTALL_DIR
) $(1)/etc
/init.d
125 $(INSTALL_BIN
) .
/files
/updatedd.init
$(1)/etc
/init.d
/updatedd
126 $(INSTALL_DIR
) $(1)/etc
/config
127 $(INSTALL_DATA
) .
/files
/updatedd.config
$(1)/etc
/config
/updatedd
128 $(INSTALL_DIR
) $(1)/usr
/bin
129 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/updatedd
$(1)/usr
/bin
/
130 $(INSTALL_DIR
) $(1)/usr
/lib
/updatedd
131 $(INSTALL_DIR
) $(1)/etc
/hotplug.d
/iface
132 $(INSTALL_DATA
) .
/files
/updatedd.hotplug
$(1)/etc
/hotplug.d
/iface
/30-updatedd
135 $(eval
$(call BuildPackage
,updatedd
))
136 $(eval
$(call BuildPlugin
,updatedd-mod-changeip
,libchangeip
))
137 $(eval
$(call BuildPlugin
,updatedd-mod-dyndns
,libdyndns
))
138 $(eval
$(call BuildPlugin
,updatedd-mod-eurodyndns
,libeurodyndns
))
139 $(eval
$(call BuildPlugin
,updatedd-mod-hn
,libhn
))
140 $(eval
$(call BuildPlugin
,updatedd-mod-noip
,libnoip
))
141 $(eval
$(call BuildPlugin
,updatedd-mod-ods
,libods
))
142 $(eval
$(call BuildPlugin
,updatedd-mod-ovh
,libovh
))
143 $(eval
$(call BuildPlugin
,updatedd-mod-regfish
,libregfish
))
144 $(eval
$(call BuildPlugin
,updatedd-mod-tzo
,libtzo
))
145 $(eval
$(call BuildPlugin
,updatedd-mod-zoneedit
,libzoneedit
))