17 lines
529 B
Plaintext
17 lines
529 B
Plaintext
# Description: Retrieves the date and time from another machine on your network (RFC 868)
|
|
# URL: ftp://people.redhat.com/sopwith/
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
|
|
|
name=rdate
|
|
version=1.4
|
|
release=1
|
|
source=(http://ftp.osuosl.org/pub/nslu2/sources/$name-$version.tar.gz rdate)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
make CFLAGS="$CFLAGS"
|
|
install -D -m 755 rdate $PKG/usr/bin/rdate
|
|
install -D -m 755 ../rdate $PKG/etc/cron/daily/rdate
|
|
install -D -m 644 rdate.1 $PKG/usr/man/man1/rdate.1
|
|
}
|