opt/chrony/Pkgfile

24 lines
568 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
2021-05-14 13:40:37 +02:00
version=4.1
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
2021-05-14 13:40:37 +02:00
./configure --prefix=/usr --with-user=chrony
2021-05-14 13:40:37 +02:00
make
make DESTDIR=$PKG install
2006-02-23 16:26:10 +01:00
2021-05-14 13:40:37 +02:00
install -d -o chrony -g chrony -m 0750 $PKG/var/{lib,log,run}/chrony
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
}