opt/chrony/Pkgfile

25 lines
678 B
Plaintext
Raw Normal View History

2006-02-24 09:01:50 +01:00
# Description: Network time protocol client/server
2006-02-23 16:26:10 +01: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 09:01:50 +01:00
release=2
2006-02-23 16:26:10 +01:00
source=(http://chrony.sunsite.dk/download/$name-$version.tar.gz \
2006-02-24 09:01:50 +01:00
$name-gcc4.patch chronyd chrony.conf chrony.keys)
2006-02-23 16:26:10 +01:00
build () {
cd $name-$version
2006-02-24 09:01:50 +01:00
patch -p1 < $SRC/$name-gcc4.patch
2006-02-23 16:26:10 +01: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
}