Makefile 928 B

12345678910111213141516171819202122232425262728293031
  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. include ${TOPDIR}/mk/package.mk
  14. $(eval $(call PKG_template,OPENNTPD,openntpd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. INSTALL_STYLE:= manual
  16. CONFIGURE_ARGS+= --with-privsep-user=ntp \
  17. --with-adjtimex
  18. do-install:
  19. ${INSTALL_DIR} ${IDIR_OPENNTPD}/etc
  20. ${INSTALL_DATA} ./files/ntpd.conf ${IDIR_OPENNTPD}/etc/
  21. ${INSTALL_DIR} ${IDIR_OPENNTPD}/usr/sbin/
  22. ${INSTALL_BIN} ${WRKBUILD}/ntpd ${IDIR_OPENNTPD}/usr/sbin/
  23. include ${TOPDIR}/mk/pkg-bottom.mk