CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
findutils: removed not needed overlay
[ports/core-arm64.git] / openrdate / Pkgfile
CommitLineData
3c5355f2
VM
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
5name=openrdate
6version=1.2
0d86cd83 7release=3
3c5355f2 8source=(http://downloads.sourceforge.net/project/$name/$name/$name-$version.tar.gz/$name-$version.tar.gz
0d86cd83 9 rdate ntpleaps.patch)
3c5355f2
VM
10
11build() {
12 cd $name-$version
0d86cd83
VM
13 # FS1462
14 patch -p1 -i $SRC/ntpleaps.patch
3c5355f2
VM
15 ./configure --prefix=/usr \
16 --build=arm-unknown-linux-gnueabi
17 make
18 make DESTDIR=$PKG install
19 install -D -m 755 $SRC/rdate $PKG/etc/cron/daily/rdate
20}