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
21 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
23 include $(INCLUDE_DIR)/package.mk
25 define Package/ez-ipupdate
28 TITLE:=Dynamic DNS services client
29 URL:=http://ez-ipupdate.com/
32 define Package/ez-ipupdate/conffiles
39 $(MAKE) -C $(PKG_BUILD_DIR)
42 define Package/ez-ipupdate/install
43 $(INSTALL_DIR) $(1)/usr/sbin
44 $(INSTALL_BIN) $(PKG_BUILD_DIR)/ez-ipupdate $(1)/usr/sbin/
45 $(INSTALL_DIR) $(1)/etc
46 install -m0600 ./files/ez-ipupdate.conf $(1)/etc/
47 $(INSTALL_DIR) $(1)/etc/hotplug.d/iface
48 $(INSTALL_BIN) ./files/ez-ipupdate.hotplug $(1)/etc/hotplug.d/iface/10-ez-ipupdate
51 $(eval $(call BuildPackage,ez-ipupdate))