Commit | Line | Data |
---|---|---|
6dca1d21 JB |
1 | # Description: Retrieves the date and time from another machine on your network (RFC 868) |
2 | # URL: ftp://people.redhat.com/sopwith/ | |
3 | # Maintainer: CRUX System Team, core-ports at crux dot nu | |
4 | # Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org | |
5 | ||
6 | name=rdate | |
7 | version=1.4 | |
8 | release=1 | |
9 | source=(http://ftp.osuosl.org/pub/nslu2/sources/$name-$version.tar.gz rdate) | |
10 | ||
11 | build() { | |
12 | cd $name-$version | |
13 | make CFLAGS="$CFLAGS" | |
14 | install -D -m 755 rdate $PKG/usr/bin/rdate | |
15 | install -D -m 755 ../rdate $PKG/etc/cron/daily/rdate | |
16 | install -D -m 644 rdate.1 $PKG/usr/man/man1/rdate.1 | |
17 | } |