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.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=@SF
/ipupdate
16 PKG_MD5SUM
:=88ad3ac097190055db4ba816b9d26d13
19 include $(INCLUDE_DIR
)/package.mk
21 define Package
/ipupdate
24 SUBMENU
:=IP Addresses and Names
25 TITLE
:=IPUpdate-Daemon
26 URL
:=http
://ipupdate.sourceforge.net
29 define Package
/ipupdate
/description
30 Lightweight remote DNS update-daemon which implements RFC
2136 dynamic updates.
31 Compatible with BIND
, Simple DNS
, and Microsoft DNS Server.
35 define Build
/Configure
36 $(call Build
/Configure
/Default
,, \
38 UNAME_R
="$(LINUX_VERSION)" \
44 rm -rf
$(PKG_INSTALL_DIR
)
45 mkdir
-p
$(PKG_INSTALL_DIR
)/usr
46 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
47 $(TARGET_CONFIGURE_OPTS
) \
48 CC
="$(TARGET_CC) $(TARGET_CFLAGS) -s" \
49 PRECOMPILED_FILTER
=1 \
50 STAGING_DIR
="$(STAGING_DIR)" \
51 DESTDIR
="$(PKG_INSTALL_DIR)/usr" \
55 define Package
/ipupdate
/install
56 $(INSTALL_DIR
) $(1)/usr
/sbin
57 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/ipupdate
$(1)/usr
/sbin
/
58 $(INSTALL_DIR
) $(1)/etc
/ipupdate
59 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/dollardns
$(1)/etc
/ipupdate
/
60 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/failover
$(1)/etc
/ipupdate
/
61 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/ifip
$(1)/etc
/ipupdate
/
62 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/whatismyip
$(1)/etc
/ipupdate
/
63 $(INSTALL_CONF
) $(PKG_BUILD_DIR
)/ipupdate.conf
$(1)/etc
/
66 $(eval
$(call BuildPackage
,ipupdate
))