blob: 9c3e0d4ef5c74090e4a58252a5a5519d513e54da (
plain)
1 # Description: Network time protocol client/server
2 # URL: http://chrony.tuxfamily.org/
3 # Maintainer: Juergen Daubert, jue at crux dot nu
4 # Depends on: libcap
5
6 name=chrony
7 version=4.3
8 release=1
9 source=(http://download.tuxfamily.org/$name/$name-$version.tar.gz
10 chronyd)
11
12 build() {
13 cd $name-$version
14
15 ./configure \
16 --prefix=/usr \
17 --chronyrundir=/run/chrony \
18 --with-pidfile=/run/chrony/chronyd.pid \
19 --with-user=chrony
20
21 make
22 make DESTDIR=$PKG install
23
24 install -d -o chrony -g chrony -m 0750 $PKG/var/{lib,log}/chrony
25 install -D -m 0755 $SRC/chronyd $PKG/etc/rc.d/chronyd
26 install examples/chrony.conf.example1 $PKG/etc/chrony.conf
27 }
|