Makefile 863 B

1234567891011121314151617181920212223242526272829
  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:= rdate
  5. PKG_VERSION:= 20070817
  6. PKG_RELEASE:= 4
  7. PKG_MD5SUM:= 9a6489d7de4311678a3fab001bb503df
  8. PKG_DESCR:= small rdate and NTP client
  9. PKG_SECTION:= ntp
  10. PKG_SITES:= ${MASTER_SITE_MIRBSD:distfiles/=dist/mir/rdate/}
  11. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  12. WRKDIST= ${WRKDIR}/${PKG_NAME}
  13. include ${TOPDIR}/mk/package.mk
  14. $(eval $(call PKG_template,RDATE,rdate,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. CONFIG_STYLE:= manual
  16. TARGET_CPPFLAGS+= -D_GNU_SOURCE
  17. MAKE_FILE= GNUmakefile
  18. rdate-install:
  19. ${INSTALL_DIR} ${IDIR_RDATE}/usr/sbin
  20. ${INSTALL_BIN} ${WRKINST}/usr/sbin/rdate ${IDIR_RDATE}/usr/sbin
  21. include ${TOPDIR}/mk/pkg-bottom.mk