source: freewrt/package/updatedd/Makefile@ ca629a6

freewrt_1_0 freewrt_2_0
Last change on this file since ca629a6 was 65b0950, checked in by Waldemar Brodkorb <wbx@…>, 19 years ago

remove bad startup script

git-svn-id: svn://www.freewrt.org/branches/freewrt_1_0@878 afb5a338-a214-0410-bd46-81f09a774fd1

  • Property mode set to 100644
File size: 2.9 KB
Line 
1# $FreeWRT$
2#-
3# This file is part of the FreeWRT project. FreeWRT is copyrighted
4# material, please see the LICENCE file in the top-level directory
5# or at http://www.freewrt.org/licence for details.
6
7include $(TOPDIR)/rules.mk
8
9PKG_NAME:= updatedd
10PKG_VERSION:= 2.5
11PKG_RELEASE:= 2
12PKG_MD5SUM:= 2957496de0c8e08e9c6492fabf1a88be
13
14PKG_SOURCE_URL:= http://savannah.nongnu.org/download/updatedd/
15PKG_SOURCE:= $(PKG_NAME)_$(PKG_VERSION).tar.gz
16
17include $(TOPDIR)/mk/package.mk
18
19define PKG_mod_template
20
21$$(IPKG_$(1)):
22 install -d -m0755 $$(IDIR_$(1))/usr/lib/updatedd
23 install -m0755 $(WRKINST)/usr/lib/updatedd/$(2).so $$(IDIR_$(1))/usr/lib/updatedd/
24 $(RSTRIP) $$(IDIR_$(1))
25 $(IPKG_BUILD) $$(IDIR_$(1)) $(PACKAGE_DIR)
26
27endef
28
29$(eval $(call PKG_template,UPDATEDD,updatedd,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
30$(eval $(call PKG_template,UPDATEDD_MOD_CHANGEIP,updatedd-mod-changeip,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
31$(eval $(call PKG_template,UPDATEDD_MOD_DYNDNS,updatedd-mod-dyndns,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
32$(eval $(call PKG_template,UPDATEDD_MOD_EURODYNDNS,updatedd-mod-eurodyndns,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
33$(eval $(call PKG_template,UPDATEDD_MOD_HN,updatedd-mod-hn,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
34$(eval $(call PKG_template,UPDATEDD_MOD_NOIP,updatedd-mod-noip,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
35$(eval $(call PKG_template,UPDATEDD_MOD_ODS,updatedd-mod-ods,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
36$(eval $(call PKG_template,UPDATEDD_MOD_OVH,updatedd-mod-ovh,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
37$(eval $(call PKG_template,UPDATEDD_MOD_REGFISH,updatedd-mod-regfish,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
38$(eval $(call PKG_template,UPDATEDD_MOD_TZO,updatedd-mod-tzo,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
39
40$(eval $(call PKG_mod_template,UPDATEDD_MOD_CHANGEIP,changeip))
41$(eval $(call PKG_mod_template,UPDATEDD_MOD_DYNDNS,dyndns))
42$(eval $(call PKG_mod_template,UPDATEDD_MOD_EURODYNDNS,eurodyndns))
43$(eval $(call PKG_mod_template,UPDATEDD_MOD_HN,hn))
44$(eval $(call PKG_mod_template,UPDATEDD_MOD_NOIP,noip))
45$(eval $(call PKG_mod_template,UPDATEDD_MOD_ODS,ods))
46$(eval $(call PKG_mod_template,UPDATEDD_MOD_OVH,ovh))
47$(eval $(call PKG_mod_template,UPDATEDD_MOD_REGFISH,regfish))
48$(eval $(call PKG_mod_template,UPDATEDD_MOD_TZO,tzo))
49
50$(WRKBUILD)/.configured:
51 (cd $(WRKBUILD); \
52 $(TARGET_CONFIGURE_OPTS) \
53 CFLAGS="$(TARGET_CFLAGS)" \
54 ./configure \
55 --target=$(GNU_TARGET_NAME) \
56 --host=$(GNU_TARGET_NAME) \
57 --build=$(GNU_HOST_NAME) \
58 --prefix=/usr \
59 --sysconfdir=/etc \
60 );
61 touch $@
62
63$(WRKBUILD)/.built:
64 rm -rf $(WRKINST)
65 mkdir -p $(WRKINST)
66 $(TARGET_CONFIGURE_OPTS) \
67 $(MAKE) -C $(WRKBUILD) \
68 $(TARGET_CONFIGURE_OPTS) \
69 DESTDIR="$(WRKINST)" \
70 all install
71 touch $@
72
73$(IPKG_UPDATEDD):
74 install -d -m0755 $(IDIR_UPDATEDD)/usr/bin
75 $(CP) $(WRKINST)/usr/bin/updatedd $(IDIR_UPDATEDD)/usr/bin/
76 install -d -m0755 $(IDIR_UPDATEDD)/usr/lib/updatedd
77 $(RSTRIP) $(IDIR_UPDATEDD)
78 $(IPKG_BUILD) $(IDIR_UPDATEDD) $(PACKAGE_DIR)
Note: See TracBrowser for help on using the repository browser.