Makefile 3.2 KB

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