Makefile 1.0 KB

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:= 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. ftp://ftp.de.openbsd.org/pub/unix/OpenBSD/OpenNTPD/ \
  13. ftp://ftp.fr.openbsd.org/pub/OpenBSD/OpenNTPD/ \
  14. ftp://ftp.sunet.se/pub/OpenBSD/OpenNTPD/
  15. include ${TOPDIR}/mk/package.mk
  16. $(eval $(call PKG_template,OPENNTPD,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. INSTALL_STYLE:= manual
  18. CONFIGURE_ARGS+= --with-privsep-user=ntp \
  19. --with-adjtimex
  20. do-install:
  21. ${INSTALL_DIR} ${IDIR_OPENNTPD}/etc
  22. ${INSTALL_DATA} ./files/ntpd.conf ${IDIR_OPENNTPD}/etc/
  23. ${INSTALL_DIR} ${IDIR_OPENNTPD}/usr/sbin/
  24. ${INSTALL_BIN} ${WRKBUILD}/ntpd ${IDIR_OPENNTPD}/usr/sbin/
  25. include ${TOPDIR}/mk/pkg-bottom.mk