Makefile 905 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:= openntpd
  5. PKG_VERSION:= 3.9p1
  6. PKG_RELEASE:= 18
  7. PKG_MD5SUM:= afc34175f38d08867c1403d9008600b3
  8. PKG_DESCR:= NTP server daemon
  9. PKG_SECTION:= ntp
  10. PKG_URL:= http://www.openntpd.org/
  11. PKG_SITES:= ftp://ftp.openbsd.org/pub/OpenBSD/OpenNTPD/
  12. include ${TOPDIR}/mk/package.mk
  13. $(eval $(call PKG_template,OPENNTPD,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  14. INSTALL_STYLE:= manual
  15. CONFIGURE_ARGS+= --with-privsep-user=ntp \
  16. --with-adjtimex
  17. do-install:
  18. ${INSTALL_DIR} ${IDIR_OPENNTPD}/etc
  19. ${INSTALL_DATA} ./files/ntpd.conf ${IDIR_OPENNTPD}/etc/
  20. ${INSTALL_DIR} ${IDIR_OPENNTPD}/usr/sbin/
  21. ${INSTALL_BIN} ${WRKBUILD}/ntpd ${IDIR_OPENNTPD}/usr/sbin/
  22. include ${TOPDIR}/mk/pkg-bottom.mk