2 # Copyright (C) 2006-2009 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 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
21 include $(INCLUDE_DIR)/package.mk
23 define Package/ez-ipupdate
26 TITLE:=Dynamic DNS services client
27 URL:=http://ez-ipupdate.com/
33 $(MAKE) -C $(PKG_BUILD_DIR)
36 define Package/ez-ipupdate/install
37 $(INSTALL_DIR) $(1)/usr/sbin
38 $(INSTALL_BIN) $(PKG_BUILD_DIR)/ez-ipupdate $(1)/usr/sbin/
39 $(INSTALL_DIR) $(1)/etc/config/
40 $(INSTALL_CONF) ./files/ez-ipupdate.config $(1)/etc/config/ddns
41 $(INSTALL_DIR) $(1)/etc/hotplug.d/iface
42 $(INSTALL_BIN) ./files/ez-ipupdate.hotplug $(1)/etc/hotplug.d/iface/30-ez-ipupdate
45 $(eval $(call BuildPackage,ez-ipupdate))