1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= updatedd
PKG_VERSION:= 2.6
PKG_RELEASE:= 1
PKG_MD5SUM:= 95655596eb6e0e381d60a458f6a45fee
PKG_DESCR:= update dynamic dns services
PKG_SECTION:= net/dns
PKG_SITES:= http://savannah.nongnu.org/download/updatedd/
PKG_SUBPKGS:= UPDATEDD UPDATEDD_MOD_CHANGEIP UPDATEDD_MOD_DYNDNS UPDATEDD_MOD_EURODYNDNS
PKG_SUBPKGS+= UPDATEDD_MOD_HN UPDATEDD_MOD_NOIP UPDATEDD_MOD_ODS UPDATEDD_MOD_OVH
PKG_SUBPKGS+= UPDATEDD_MOD_REGFISH UPDATEDD_MOD_TZO
PKGSN_UPDATEDD_MOD_CHANGEIP:= updatedd
PKGSN_UPDATEDD_MOD_DYNDNS:= updatedd
PKGSN_UPDATEDD_MOD_EURODYNDNS:= updatedd
PKGSN_UPDATEDD_MOD_HN:= updatedd
PKGSN_UPDATEDD_MOD_NOIP:= updatedd
PKGSN_UPDATEDD_MOD_ODS:= updatedd
PKGSN_UPDATEDD_MOD_OVH:= updatedd
PKGSN_UPDATEDD_MOD_REGFISH:= updatedd
PKGSN_UPDATEDD_MOD_TZO:= updatedd
DISTFILES:= ${PKG_NAME}_${PKG_VERSION}.tar.gz
include ${ADK_TOPDIR}/mk/package.mk
define PKG_libinstall
${INSTALL_DIR} ${IDIR_${1}}/usr/lib/updatedd
${INSTALL_BIN} ${WRKINST}/usr/lib/updatedd/lib${2}.so ${IDIR_${1}}/usr/lib/updatedd/
endef
$(eval $(call PKG_template,UPDATEDD,updatedd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,UPDATEDD_MOD_CHANGEIP,updatedd-mod-changeip,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,UPDATEDD_MOD_DYNDNS,updatedd-mod-dyndns,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,UPDATEDD_MOD_EURODYNDNS,updatedd-mod-eurodyndns,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,UPDATEDD_MOD_HN,updatedd-mod-hn,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,UPDATEDD_MOD_NOIP,updatedd-mod-noip,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,UPDATEDD_MOD_ODS,updatedd-mod-ods,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,UPDATEDD_MOD_OVH,updatedd-mod-ovh,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,UPDATEDD_MOD_REGFISH,updatedd-mod-regfish,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,UPDATEDD_MOD_TZO,updatedd-mod-tzo,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
CONFIGURE_ARGS+= ac_cv_lib_nsl_gethostbyname=no
post-install:
${INSTALL_DIR} ${IDIR_UPDATEDD}/usr/bin
${INSTALL_BIN} ${WRKINST}/usr/bin/updatedd ${IDIR_UPDATEDD}/usr/bin/
${INSTALL_DIR} ${IDIR_UPDATEDD}/usr/lib/updatedd
$(call PKG_libinstall,UPDATEDD_MOD_CHANGEIP,changeip)
$(call PKG_libinstall,UPDATEDD_MOD_DYNDNS,dyndns)
$(call PKG_libinstall,UPDATEDD_MOD_EURODYNDNS,eurodyndns)
$(call PKG_libinstall,UPDATEDD_MOD_HN,hn)
$(call PKG_libinstall,UPDATEDD_MOD_NOIP,noip)
$(call PKG_libinstall,UPDATEDD_MOD_ODS,ods)
$(call PKG_libinstall,UPDATEDD_MOD_OVH,ovh)
$(call PKG_libinstall,UPDATEDD_MOD_REGFISH,regfish)
$(call PKG_libinstall,UPDATEDD_MOD_TZO,tzo)
include ${ADK_TOPDIR}/mk/pkg-bottom.mk
|