]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - pkgs/ntp/ntp.nm
ntp: Add systemd unit file.
[people/ms/ipfire-3.x.git] / pkgs / ntp / ntp.nm
CommitLineData
717ba960
MT
1###############################################################################
2# #
3# IPFire.org - A linux based firewall #
4# Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt #
5# #
6# This program is free software: you can redistribute it and/or modify #
7# it under the terms of the GNU General Public License as published by #
8# the Free Software Foundation, either version 3 of the License, or #
9# (at your option) any later version. #
10# #
11# This program is distributed in the hope that it will be useful, #
12# but WITHOUT ANY WARRANTY; without even the implied warranty of #
13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
14# GNU General Public License for more details. #
15# #
16# You should have received a copy of the GNU General Public License #
17# along with this program. If not, see <http://www.gnu.org/licenses/>. #
18# #
19###############################################################################
20
21###############################################################################
22# Definitions
23###############################################################################
24
25include $(PKGROOT)/Include
26
27PKG_NAME = ntp
5003248b 28PKG_VER = 4.2.6p1
fc9e3aec 29PKG_REL = 2
717ba960
MT
30
31PKG_MAINTAINER =
b42a752b 32PKG_GROUPS = Base System/Daemons
717ba960
MT
33PKG_URL = http://www.ntp.org/
34PKG_LICENSE = MIT, BSD and GPLv2
35PKG_SUMMARY = The NTP daemon and utilities.
36
36b9b292 37PKG_BUILD_DEPS+= openssl-devel readline-devel
717ba960
MT
38
39define PKG_DESCRIPTION
40 The Network Time Protocol (NTP) is used to synchronize a computer's \
41 time with another reference time source. This package includes ntpd \
42 and utilities used to query and configure the ntpd daemon.
43endef
44
45PKG_TARBALL = $(THISAPP).tar.gz
46
47CFLAGS += -DMOD_NANO
48
49CONFIGURE_OPTIONS += \
50 --sysconfdir=/etc \
51 --mandir=/usr/share/man \
52 --with-binsubdir=sbin
53
54define STAGE_INSTALL_CMDS
55 -mkdir -pv $(BUILDROOT)/etc
56 cp -vf $(DIR_SOURCE)/ntp.conf $(BUILDROOT)/etc/ntp.conf
57endef