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