1
0

Makefile 2.7 KB

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