1
0

Makefile 2.7 KB

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