24 lines
568 B
Plaintext
24 lines
568 B
Plaintext
# Description: Network time protocol client/server
|
|
# URL: http://chrony.tuxfamily.org/
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
|
# Depends on: libcap
|
|
|
|
name=chrony
|
|
version=4.1
|
|
release=1
|
|
source=(http://download.tuxfamily.org/$name/$name-$version.tar.gz
|
|
chronyd)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
./configure --prefix=/usr --with-user=chrony
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
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
|
|
}
|