1
0

Makefile 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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 ${TOPDIR}/rules.mk
  4. PKG_NAME:= updatedd
  5. PKG_VERSION:= 2.6
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 95655596eb6e0e381d60a458f6a45fee
  8. PKG_DESCR:= A tool to update dynamic dns services.
  9. PKG_SECTION:= dns
  10. PKG_SITES:= http://savannah.nongnu.org/download/updatedd/
  11. PKG_MULTI:= 1
  12. PKG_SUBPKGS:= UPDATEDD UPDATEDD_MOD_CHANGEIP UPDATEDD_MOD_DYNDNS UPDATEDD_MOD_EURODYNDNS
  13. PKG_SUBPKGS+= UPDATEDD_MOD_HN UPDATEDD_MOD_NOIP UPDATEDD_MOD_ODS UPDATEDD_MOD_OVH
  14. PKG_SUBPKGS+= UPDATEDD_MOD_REGFISH UPDATEDD_MOD_TZO
  15. DISTFILES:= ${PKG_NAME}_${PKG_VERSION}.tar.gz
  16. include ${TOPDIR}/mk/package.mk
  17. define PKG_libinstall
  18. ${INSTALL_DIR} ${IDIR_${1}}/usr/lib/updatedd
  19. ${INSTALL_BIN} ${WRKINST}/usr/lib/updatedd/lib${2}.so ${IDIR_${1}}/usr/lib/updatedd/
  20. endef
  21. $(eval $(call PKG_template,UPDATEDD,updatedd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  22. $(eval $(call PKG_template,UPDATEDD_MOD_CHANGEIP,updatedd-mod-changeip,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  23. $(eval $(call PKG_template,UPDATEDD_MOD_DYNDNS,updatedd-mod-dyndns,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  24. $(eval $(call PKG_template,UPDATEDD_MOD_EURODYNDNS,updatedd-mod-eurodyndns,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  25. $(eval $(call PKG_template,UPDATEDD_MOD_HN,updatedd-mod-hn,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  26. $(eval $(call PKG_template,UPDATEDD_MOD_NOIP,updatedd-mod-noip,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  27. $(eval $(call PKG_template,UPDATEDD_MOD_ODS,updatedd-mod-ods,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  28. $(eval $(call PKG_template,UPDATEDD_MOD_OVH,updatedd-mod-ovh,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  29. $(eval $(call PKG_template,UPDATEDD_MOD_REGFISH,updatedd-mod-regfish,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  30. $(eval $(call PKG_template,UPDATEDD_MOD_TZO,updatedd-mod-tzo,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  31. CONFIGURE_ARGS+= ac_cv_lib_nsl_gethostbyname=no
  32. post-install:
  33. ${INSTALL_DIR} ${IDIR_UPDATEDD}/usr/bin
  34. ${INSTALL_BIN} ${WRKINST}/usr/bin/updatedd ${IDIR_UPDATEDD}/usr/bin/
  35. ${INSTALL_DIR} ${IDIR_UPDATEDD}/usr/lib/updatedd
  36. $(call PKG_libinstall,UPDATEDD_MOD_CHANGEIP,changeip)
  37. $(call PKG_libinstall,UPDATEDD_MOD_DYNDNS,dyndns)
  38. $(call PKG_libinstall,UPDATEDD_MOD_EURODYNDNS,eurodyndns)
  39. $(call PKG_libinstall,UPDATEDD_MOD_HN,hn)
  40. $(call PKG_libinstall,UPDATEDD_MOD_NOIP,noip)
  41. $(call PKG_libinstall,UPDATEDD_MOD_ODS,ods)
  42. $(call PKG_libinstall,UPDATEDD_MOD_OVH,ovh)
  43. $(call PKG_libinstall,UPDATEDD_MOD_REGFISH,regfish)
  44. $(call PKG_libinstall,UPDATEDD_MOD_TZO,tzo)
  45. include ${TOPDIR}/mk/pkg-bottom.mk