| 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 | # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu |
| 5 | # Depends on: |
| 6 | |
| 7 | name=openrdate |
| 8 | version=1.2 |
| 9 | release=1 |
| 10 | source=(http://dl.sourceforge.net/sourceforge/openrdate/$name-$version.tar.gz \ |
| 11 | rdate) |
| 12 | |
| 13 | build() { |
| 14 | cd $name-$version |
| 15 | |
| 16 | ./configure --build=$CHOST \ |
| 17 | --host=$CTARGET \ |
| 18 | --prefix=/usr \ |
| 19 | --mandir=/usr/man |
| 20 | |
| 21 | make AR="$AR" |
| 22 | make DESTDIR=$PKG install |
| 23 | install -D -m 755 $SRC/rdate $PKG/etc/cron/daily/rdate |
| 24 | } |