CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
glibc: updated kernel headers to 4.9.5
[ports/core-arm.git] / openrdate / Pkgfile
CommitLineData
c05b4f57 1# Description: Time setting software implementing RFC 868 (inetd time) and RFC 2030 (SNTP/NTP) protocols
2de464f0
VM
2# URL: http://sourceforge.net/projects/openrdate/
3# Maintainer: CRUX System Team, core-ports at crux dot nu
c05b4f57
VM
4
5name=openrdate
6version=1.2
850955e5 7release=3
c05b4f57 8source=(http://downloads.sourceforge.net/project/$name/$name/$name-$version.tar.gz/$name-$version.tar.gz
2de464f0 9 rdate ntp.patch ntpleaps.patch)
c05b4f57
VM
10
11build() {
2de464f0 12 cd $name-$version
c05b4f57 13 patch -p1 -i $SRC/ntp.patch
2de464f0
VM
14 # FS1462
15 patch -p1 -i $SRC/ntpleaps.patch
16 ./configure --prefix=/usr
17 make
18 make DESTDIR=$PKG install
19 install -D -m 755 $SRC/rdate $PKG/etc/cron/daily/rdate
c05b4f57 20}