Commit | Line | Data |
---|---|---|
c05b4f57 VM |
1 | # Description: Time setting software implementing RFC 868 (inetd time) and RFC 2030 (SNTP/NTP) protocols |
2 | # URL: http://sourceforge.net/projects/openrdate/ | |
3 | # Maintainer: CRUX System Team, core-ports at crux dot nu | |
4 | ||
5 | name=openrdate | |
6 | version=1.2 | |
7 | release=2 | |
8 | source=(http://downloads.sourceforge.net/project/$name/$name/$name-$version.tar.gz/$name-$version.tar.gz | |
9 | rdate ntp.patch) | |
10 | ||
11 | build() { | |
12 | cd $name-$version | |
13 | patch -p1 -i $SRC/ntp.patch | |
14 | ./configure --prefix=/usr | |
15 | make | |
16 | make DESTDIR=$PKG install | |
17 | install -D -m 755 $SRC/rdate $PKG/etc/cron/daily/rdate | |
18 | } |