Makefile 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. # $Id$
  2. #-
  3. # This file is part of the OpenADK project. OpenADK is copyrighted
  4. # material, please see the LICENCE file in the top-level directory.
  5. include ${TOPDIR}/rules.mk
  6. PKG_NAME:= openntpd
  7. PKG_VERSION:= 3.9p1
  8. PKG_RELEASE:= 17
  9. PKG_MD5SUM:= afc34175f38d08867c1403d9008600b3
  10. PKG_DESCR:= NTP server daemon
  11. PKG_SECTION:= net
  12. PKG_URL:= http://www.openntpd.org
  13. PKG_SITES:= ftp://ftp.openbsd.org/pub/OpenBSD/OpenNTPD/ \
  14. ftp://ftp.de.openbsd.org/pub/unix/OpenBSD/OpenNTPD/ \
  15. ftp://ftp.fr.openbsd.org/pub/OpenBSD/OpenNTPD/ \
  16. ftp://ftp.sunet.se/pub/OpenBSD/OpenNTPD/
  17. include ${TOPDIR}/mk/package.mk
  18. $(eval $(call PKG_template,OPENNTPD,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  19. CONFIGURE_STYLE:= gnu
  20. CONFIGURE_ARGS+= --with-privsep-user=ntp \
  21. --with-adjtimex
  22. BUILD_STYLE:= auto
  23. do-install:
  24. ${INSTALL_DIR} ${IDIR_OPENNTPD}/etc
  25. ${INSTALL_DATA} ./files/ntpd.conf ${IDIR_OPENNTPD}/etc/
  26. ${INSTALL_DIR} ${IDIR_OPENNTPD}/usr/sbin/
  27. ${INSTALL_BIN} ${WRKBUILD}/ntpd ${IDIR_OPENNTPD}/usr/sbin/
  28. include ${TOPDIR}/mk/pkg-bottom.mk