Makefile 1008 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 ${ADK_TOPDIR}/rules.mk
  4. PKG_NAME:= openntpd
  5. PKG_VERSION:= 3.9p1
  6. PKG_RELEASE:= 19
  7. PKG_HASH:= 83dd7c1e8ec8b4567afe49af539271b5a73562fb7a3ca51df73eccba89ec8c49
  8. PKG_DESCR:= ntp server daemon
  9. PKG_SECTION:= net/ntp
  10. PKG_URL:= http://www.openntpd.org/
  11. PKG_SITES:= ftp://ftp.openbsd.org/pub/OpenBSD/OpenNTPD/
  12. PKG_BB:= 1
  13. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  14. include ${ADK_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 ${ADK_TOPDIR}/mk/pkg-bottom.mk