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:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.gz
16 PKG_SOURCE_URL:=http://ftp.debian.org/debian/pool/main/e/ez-ipupdate \
17 http://ftp.de.debian.org/debian/pool/main/e/ez-ipupdate
18 PKG_MD5SUM:=000211add4c4845ffa4211841bff4fb0
20 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
22 include $(INCLUDE_DIR)/package.mk
24 define Package/ez-ipupdate
27 TITLE:=Dynamic DNS services client
28 URL:=http://ez-ipupdate.com/
34 $(MAKE) -C $(PKG_BUILD_DIR)
37 define Package/ez-ipupdate/install
38 $(INSTALL_DIR) $(1)/usr/sbin
39 $(INSTALL_BIN) $(PKG_BUILD_DIR)/ez-ipupdate $(1)/usr/sbin/
40 $(INSTALL_DIR) $(1)/etc/config/
41 $(INSTALL_CONF) ./files/ez-ipupdate.config $(1)/etc/config/ddns
42 $(INSTALL_DIR) $(1)/etc/hotplug.d/iface
43 $(INSTALL_BIN) ./files/ez-ipupdate.hotplug $(1)/etc/hotplug.d/iface/30-ez-ipupdate
46 $(eval $(call BuildPackage,ez-ipupdate))