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_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
16 PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.gz
17 PKG_SOURCE_URL:=http://ftp.debian.org/debian/pool/main/e/ez-ipupdate \
18 http://ftp.de.debian.org/debian/pool/main/e/ez-ipupdate
19 PKG_MD5SUM:=000211add4c4845ffa4211841bff4fb0
22 include $(INCLUDE_DIR)/package.mk
24 define Package/ez-ipupdate
27 TITLE:=Dynamic DNS services client
28 DESCRIPTION:=Dynamic DNS services client.
29 URL:=http://ez-ipupdate.com/
32 define Package/ez-ipupdate/conffiles
36 define Build/Configure
37 (cd $(PKG_BUILD_DIR); rm -f config.cache; \
38 $(TARGET_CONFIGURE_OPTS) \
39 CFLAGS="$(TARGET_CFLAGS)" \
41 --target=$(GNU_TARGET_NAME) \
42 --host=$(GNU_TARGET_NAME) \
43 --build=$(GNU_HOST_NAME) \
49 --datadir=/usr/share \
50 --includedir=/usr/include \
51 --infodir=/usr/share/info \
53 --libexecdir=/usr/lib \
54 --localstatedir=/var \
55 --mandir=/usr/share/man \
58 $(DISABLE_LARGEFILE) \
64 $(MAKE) -C $(PKG_BUILD_DIR)
67 define Package/ez-ipupdate/install
68 install -d -m0755 $(1)/etc
69 install -m0600 ./files/$(PKG_NAME).conf $(1)/etc/
70 install -d -m0755 $(1)/etc/hotplug.d/iface
71 install -m0755 ./files/$(PKG_NAME).hotplug $(1)/etc/hotplug.d/iface/10-$(PKG_NAME)
72 install -d -m0755 $(1)/usr/sbin
73 install -m0755 $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/sbin/
76 $(eval $(call BuildPackage,ez-ipupdate))