2006-02-24 08:01:50 +00:00
|
|
|
|
# Description: Network time protocol client/server
|
2006-02-23 15:26:10 +00:00
|
|
|
|
# URL: http://chrony.sunsite.dk/index.php
|
|
|
|
|
# Maintainer: J<>rgen Daubert, juergen dot daubert at t-online dot de
|
|
|
|
|
# Depends on: ncurses, readline
|
|
|
|
|
|
|
|
|
|
name=chrony
|
|
|
|
|
version=1.21
|
2006-02-24 08:01:50 +00:00
|
|
|
|
release=2
|
2006-02-23 15:26:10 +00:00
|
|
|
|
source=(http://chrony.sunsite.dk/download/$name-$version.tar.gz \
|
2006-02-24 08:01:50 +00:00
|
|
|
|
$name-gcc4.patch chronyd chrony.conf chrony.keys)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
|
|
build () {
|
|
|
|
|
cd $name-$version
|
2006-02-24 08:01:50 +00:00
|
|
|
|
patch -p1 < $SRC/$name-gcc4.patch
|
2006-02-23 15:26:10 +00:00
|
|
|
|
./configure --prefix=/usr
|
|
|
|
|
make
|
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
|
|
|
|
|
rm -r $PKG/usr/doc
|
|
|
|
|
|
|
|
|
|
install -d $PKG/var/{lib,log}/chrony
|
|
|
|
|
install -D -m 755 $SRC/chronyd $PKG/etc/rc.d/chronyd
|
|
|
|
|
install -m 600 $SRC/chrony.* $PKG/etc
|
|
|
|
|
}
|