17 lines
505 B
Plaintext
17 lines
505 B
Plaintext
|
# Description: Retrieves the date and time from another machine on your network (RFC 868)
|
|||
|
# URL: ftp://people.redhat.com/sopwith/
|
|||
|
# Maintainer: Per Lid<69>n <per@fukt.bth.se>
|
|||
|
|
|||
|
name=rdate
|
|||
|
version=1.4
|
|||
|
release=1
|
|||
|
source=(ftp://people.redhat.com/sopwith/$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
|
|||
|
}
|