1
0

Makefile 944 B

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