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
15 PKG_SOURCE_URL
:=@openwrt
/
16 PKG_SOURCE
:=$(PKG_NAME
)_
$(PKG_VERSION
).
tar.bz2
17 PKG_MD5SUM
:=f03446105ed043cd5dbd1ab95484d27f
19 include $(INCLUDE_DIR
)/package.mk
21 define Package
/updatedd
25 TITLE
:=A tool to update dynamic dns services
26 DESCRIPTION
:=Updatedd is a small tool that will update one of many dynamic
\\\
27 dns services on boot.
\\\
28 Please look at the
/etc
/init.d
/ddns script for more
info.
\\\
29 URL
:=http
://www.philipp-benner.de
/updatedd
/
32 define Package
/updatedd-mod-changeip
39 define Package
/updatedd-mod-dyndns
46 define Package
/updatedd-mod-eurodyndns
53 define Package
/updatedd-mod-hn
60 define Package
/updatedd-mod-noip
67 define Package
/updatedd-mod-ods
74 define Package
/updatedd-mod-ovh
81 define Package
/updatedd-mod-regfish
88 define Package
/updatedd-mod-tzo
95 define Package
/updatedd-mod-zoneedit
103 DESTDIR
="$(PKG_INSTALL_DIR)" \
107 define Package
/$(1)/install
108 $(INSTALL_DIR
) $$(1)/usr
/lib
/updatedd
109 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/updatedd
/$(2).so
* $$(1)/usr
/lib
/updatedd
/
112 $$(eval
$$(call BuildPackage
,$(1)))
115 define Package
/updatedd
/install
116 $(INSTALL_DIR
) $(1)/etc
/init.d
117 $(INSTALL_BIN
) .
/files
/updatedd.init
$(1)/etc
/init.d
/updatedd
118 $(INSTALL_DIR
) $(1)/etc
/config
119 $(INSTALL_DATA
) .
/files
/updatedd.config
$(1)/etc
/config
/updatedd
120 $(INSTALL_DIR
) $(1)/usr
/bin
121 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/updatedd
$(1)/usr
/bin
/
122 $(INSTALL_DIR
) $(1)/usr
/lib
/updatedd
123 $(INSTALL_DIR
) $(1)/etc
/hotplug.d
/iface
124 $(INSTALL_BIN
) .
/files
/updatedd.hotplug
$(1)/etc
/hotplug.d
/iface
/30-updatedd
127 $(eval
$(call BuildPackage
,updatedd
))
128 $(eval
$(call BuildPlugin
,updatedd-mod-changeip
,libchangeip
))
129 $(eval
$(call BuildPlugin
,updatedd-mod-dyndns
,libdyndns
))
130 $(eval
$(call BuildPlugin
,updatedd-mod-eurodyndns
,libeurodyndns
))
131 $(eval
$(call BuildPlugin
,updatedd-mod-hn
,libhn
))
132 $(eval
$(call BuildPlugin
,updatedd-mod-noip
,libnoip
))
133 $(eval
$(call BuildPlugin
,updatedd-mod-ods
,libods
))
134 $(eval
$(call BuildPlugin
,updatedd-mod-ovh
,libovh
))
135 $(eval
$(call BuildPlugin
,updatedd-mod-regfish
,libregfish
))
136 $(eval
$(call BuildPlugin
,updatedd-mod-tzo
,libtzo
))
137 $(eval
$(call BuildPlugin
,updatedd-mod-zoneedit
,libzoneedit
))