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 TITLE
:=IPUpdate-Daemon
25 URL
:=http
://ipupdate.sourceforge.net
28 define Package
/ipupdate
/description
29 Lightweight remote DNS update-daemon which implements RFC
2136 dynamic updates.
30 Compatible with BIND
, Simple DNS
, and Microsoft DNS Server.
34 define Build
/Configure
35 $(call Build
/Configure
/Default
,, \
37 UNAME_R
="$(LINUX_VERSION)" \
43 rm -rf
$(PKG_INSTALL_DIR
)
44 mkdir
-p
$(PKG_INSTALL_DIR
)/usr
45 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
46 $(TARGET_CONFIGURE_OPTS
) \
47 CC
="$(TARGET_CC) $(TARGET_CFLAGS) -s" \
48 PRECOMPILED_FILTER
=1 \
49 STAGING_DIR
="$(STAGING_DIR)" \
50 DESTDIR
="$(PKG_INSTALL_DIR)/usr" \
54 define Package
/ipupdate
/install
55 $(INSTALL_DIR
) $(1)/usr
/sbin
56 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/ipupdate
$(1)/usr
/sbin
/
57 $(INSTALL_DIR
) $(1)/etc
/ipupdate
58 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/dollardns
$(1)/etc
/ipupdate
/
59 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/failover
$(1)/etc
/ipupdate
/
60 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/ifip
$(1)/etc
/ipupdate
/
61 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/whatismyip
$(1)/etc
/ipupdate
/
62 $(INSTALL_CONF
) $(PKG_BUILD_DIR
)/ipupdate.conf
$(1)/etc
/
65 $(eval
$(call BuildPackage
,ipupdate
))