2 # Copyright (C) 2006-2010 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:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.gz
15 PKG_SOURCE_URL:=http://ftp.debian.org/debian/pool/main/e/ez-ipupdate \
16 http://ftp.de.debian.org/debian/pool/main/e/ez-ipupdate
17 PKG_MD5SUM:=000211add4c4845ffa4211841bff4fb0
19 include $(INCLUDE_DIR)/package.mk
21 define Package/ez-ipupdate
24 TITLE:=Dynamic DNS services client
25 URL:=http://ez-ipupdate.com/
31 $(MAKE) -C $(PKG_BUILD_DIR)
34 define Package/ez-ipupdate/install
35 $(INSTALL_DIR) $(1)/usr/sbin
36 $(INSTALL_BIN) $(PKG_BUILD_DIR)/ez-ipupdate $(1)/usr/sbin/
37 $(INSTALL_DIR) $(1)/etc/config/
38 $(INSTALL_CONF) ./files/ez-ipupdate.config $(1)/etc/config/ddns
39 $(INSTALL_DIR) $(1)/etc/hotplug.d/iface
40 $(INSTALL_BIN) ./files/ez-ipupdate.hotplug $(1)/etc/hotplug.d/iface/30-ez-ipupdate
43 $(eval $(call BuildPackage,ez-ipupdate))