vanhofen
4 years ago
2 changed files with 36 additions and 32 deletions
@ -0,0 +1,36 @@ |
|||
################################################################################
|
|||
#
|
|||
# ntp
|
|||
#
|
|||
################################################################################
|
|||
|
|||
NTP_VERSION = 4.2.8p15 |
|||
NTP_DIR = ntp-$(NTP_VERSION) |
|||
NTP_SOURCE = ntp-$(NTP_VERSION).tar.gz |
|||
NTP_SITE = https://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-$(basename $(NTP_VERSION)) |
|||
|
|||
NTP_DEPENDENCIES = openssl |
|||
|
|||
NTP_CONF_OPTS = \
|
|||
--bindir=$(REMOVE_bindir) \
|
|||
--datadir=$(REMOVE_datadir) \
|
|||
--libexecdir=$(REMOVE_libexecdir) \
|
|||
--docdir=$(REMOVE_docdir) \
|
|||
--disable-debugging \
|
|||
--with-shared \
|
|||
--with-crypto \
|
|||
--with-yielding-select=yes \
|
|||
--without-ntpsnmpd |
|||
|
|||
define NTP_TARGET_CLEANUP |
|||
$(TARGET_RM) $(addprefix $(TARGET_sbindir)/,calc_tickadj ntp-keygen ntp-wait ntpd ntptime tickadj update-leap) |
|||
endef |
|||
NTP_TARGET_FINALIZE_HOOKS += NTP_TARGET_CLEANUP |
|||
|
|||
define NTP_INSTALL_NTPDATE_INIT |
|||
$(INSTALL_EXEC) -D $(PKG_FILES_DIR)/ntpdate.init $(TARGET_sysconfdir)/init.d/ntpdate |
|||
endef |
|||
NTP_TARGET_FINALIZE_HOOKS += NTP_INSTALL_NTPDATE_INIT |
|||
|
|||
ntp: | $(TARGET_DIR) |
|||
$(call autotools-package) |
Loading…
Reference in new issue