e49c5f1012
closes FS#1452
22 lines
611 B
Plaintext
22 lines
611 B
Plaintext
# Description: Time setting software implementing RFC 868 (inetd time) and RFC 2030 (SNTP/NTP) protocols
|
|
# URL: http://sourceforge.net/projects/openrdate/
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
|
|
|
name=openrdate
|
|
version=1.2
|
|
release=3
|
|
source=(http://downloads.sourceforge.net/project/$name/$name/$name-$version.tar.gz/$name-$version.tar.gz
|
|
rdate ntpleaps.patch)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
# FS1462
|
|
patch -p1 -i $SRC/ntpleaps.patch
|
|
|
|
./configure --prefix=/usr
|
|
make
|
|
make DESTDIR=$PKG install
|
|
install -D -m 755 $SRC/rdate $PKG/etc/cron/daily/rdate
|
|
}
|