Makefile 1000 B

123456789101112131415161718192021222324252627282930313233
  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:= ntpclient
  5. PKG_VERSION:= 2007_365
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= cb98711f11769cdd22fc592844cef414
  8. PKG_DESCR:= NTP client for setting system time from NTP servers
  9. PKG_SECTION:= ntp
  10. PKG_DEPENDS:= libpthread
  11. PKG_URL:= http://doolittle.icarus.com/ntpclient
  12. PKG_SITES:= http://doolittle.icarus.com/ntpclient/
  13. DISTFILES:= ${PKG_NAME}_${PKG_VERSION}.tar.gz
  14. WRKDIST= ${WRKDIR}/${PKG_NAME}-2007
  15. include ${TOPDIR}/mk/package.mk
  16. $(eval $(call PKG_template,NTPCLIENT,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. CONFIG_STYLE:= manual
  18. INSTALL_STYLE:= manual
  19. MAKE_FLAGS+= CC='${TARGET_CC}' CFLAGS='${TCFLAGS}'
  20. ALL_TARGET:=
  21. do-install:
  22. ${INSTALL_DIR} ${IDIR_NTPCLIENT}/usr/sbin
  23. ${INSTALL_BIN} ${WRKBUILD}/ntpclient ${IDIR_NTPCLIENT}/usr/sbin/
  24. include ${TOPDIR}/mk/pkg-bottom.mk