CRUX-ARM : Home

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