opt/chrony/Pkgfile

28 lines
646 B
Plaintext
Raw Normal View History

2006-02-24 09:01:50 +01:00
# Description: Network time protocol client/server
2021-05-14 13:40:37 +02:00
# URL: http://chrony.tuxfamily.org/
# Maintainer: Juergen Daubert, jue at crux dot nu
# Depends on: libcap
2006-02-23 16:26:10 +01:00
name=chrony
2022-09-01 09:37:52 +02:00
version=4.3
2017-01-18 15:43:40 +01:00
release=1
2009-10-26 14:02:33 +01:00
source=(http://download.tuxfamily.org/$name/$name-$version.tar.gz
2021-05-14 13:40:37 +02:00
chronyd)
2006-02-23 16:26:10 +01:00
2021-05-14 13:40:37 +02:00
build() {
cd $name-$version
./configure \
--prefix=/usr \
--chronyrundir=/run/chrony \
--with-pidfile=/run/chrony/chronyd.pid \
--with-user=chrony
2021-05-14 13:40:37 +02:00
make
make DESTDIR=$PKG install
2006-02-23 16:26:10 +01:00
install -d -o chrony -g chrony -m 0750 $PKG/var/{lib,log}/chrony
2021-05-14 13:40:37 +02:00
install -D -m 0755 $SRC/chronyd $PKG/etc/rc.d/chronyd
install examples/chrony.conf.example1 $PKG/etc/chrony.conf
2006-02-23 16:26:10 +01:00
}