Makefile 976 B

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