3 include $(TOPDIR
)/rules.mk
8 PKG_MD5SUM
:=2957496de0c8e08e9c6492fabf1a88be
10 PKG_SOURCE_URL
:=http
://savannah.nongnu.org
/download
/updatedd
/
11 PKG_SOURCE
:=$(PKG_NAME
)_
$(PKG_VERSION
).
tar.gz
14 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
15 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
17 include $(TOPDIR
)/package
/rules.mk
19 $(eval
$(call PKG_template
,UPDATEDD
,updatedd
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
21 $(PKG_BUILD_DIR
)/.configured
:
22 (cd
$(PKG_BUILD_DIR
); \
23 $(TARGET_CONFIGURE_OPTS
) \
24 CFLAGS
="$(TARGET_CFLAGS)" \
26 --target
=$(GNU_TARGET_NAME
) \
27 --host
=$(GNU_TARGET_NAME
) \
28 --build
=$(GNU_HOST_NAME
) \
34 $(PKG_BUILD_DIR
)/.built
:
35 rm -rf
$(PKG_INSTALL_DIR
)
36 mkdir
-p
$(PKG_INSTALL_DIR
)
37 $(TARGET_CONFIGURE_OPTS
) \
38 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
39 $(TARGET_CONFIGURE_OPTS
) \
40 DESTDIR
="$(PKG_INSTALL_DIR)" \
45 install -d
-m0755
$(IDIR_UPDATEDD
)/usr
/bin
46 cp
-fpR
$(PKG_INSTALL_DIR
)/usr
/bin
/updatedd
$(IDIR_UPDATEDD
)/usr
/bin
/updatedd
48 install -d
-m0755
$(IDIR_UPDATEDD
)/etc
/init.d
/
49 install -m0755 .
/files
/S55ddns
$(IDIR_UPDATEDD
)/etc
/init.d
/S55ddns
51 install -d
-m0755
$(IDIR_UPDATEDD
)/usr
/lib
/updatedd
53 ifeq ($(BR2_PACKAGE_UPDATEDD_CHANGEIP
),y
)
54 install -m0644
$(PKG_INSTALL_DIR
)/usr
/lib
/updatedd
/changeip.so
$(IDIR_UPDATEDD
)/usr
/lib
/updatedd
/changeip.so
56 ifeq ($(BR2_PACKAGE_UPDATEDD_DYNDNS
),y
)
57 install -m0644
$(PKG_INSTALL_DIR
)/usr
/lib
/updatedd
/dyndns.so
$(IDIR_UPDATEDD
)/usr
/lib
/updatedd
/dyndns.so
59 ifeq ($(BR2_PACKAGE_UPDATEDD_EURODYNDNS
),y
)
60 install -m0644
$(PKG_INSTALL_DIR
)/usr
/lib
/updatedd
/eurodyndns.so
$(IDIR_UPDATEDD
)/usr
/lib
/updatedd
/eurodyndns.so
62 ifeq ($(BR2_PACKAGE_UPDATEDD_HN
),y
)
63 install -m0644
$(PKG_INSTALL_DIR
)/usr
/lib
/updatedd
/hn.so
$(IDIR_UPDATEDD
)/usr
/lib
/updatedd
/hn.so
65 ifeq ($(BR2_PACKAGE_UPDATEDD_NOIP
),y
)
66 install -m0644
$(PKG_INSTALL_DIR
)/usr
/lib
/updatedd
/noip.so
$(IDIR_UPDATEDD
)/usr
/lib
/updatedd
/noip.so
68 ifeq ($(BR2_PACKAGE_UPDATEDD_ODS
),y
)
69 install -m0644
$(PKG_INSTALL_DIR
)/usr
/lib
/updatedd
/ods.so
$(IDIR_UPDATEDD
)/usr
/lib
/updatedd
/ods.so
71 ifeq ($(BR2_PACKAGE_UPDATEDD_OVH
),y
)
72 install -m0644
$(PKG_INSTALL_DIR
)/usr
/lib
/updatedd
/ovh.so
$(IDIR_UPDATEDD
)/usr
/lib
/updatedd
/ovh.so
74 ifeq ($(BR2_PACKAGE_UPDATEDD_REGFISH
),y
)
75 install -m0644
$(PKG_INSTALL_DIR
)/usr
/lib
/updatedd
/regfish.so
$(IDIR_UPDATEDD
)/usr
/lib
/updatedd
/regfish.so
77 ifeq ($(BR2_PACKAGE_UPDATEDD_TZO
),y
)
78 install -m0644
$(PKG_INSTALL_DIR
)/usr
/lib
/updatedd
/tzo.so
$(IDIR_UPDATEDD
)/usr
/lib
/updatedd
/tzo.so
81 $(RSTRIP
) $(IDIR_UPDATEDD
)
82 $(IPKG_BUILD
) $(IDIR_UPDATEDD
) $(PACKAGE_DIR
)