Makefile 818 B

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