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
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 # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
5
6 name=openrdate
7 version=1.2
8 release=3
9 source=(http://downloads.sourceforge.net/project/$name/$name/$name-$version.tar.gz/$name-$version.tar.gz
10 rdate ntpleaps.patch)
11
12 build() {
13 cd $name-$version
14 # FS1462
15 patch -p1 -i $SRC/ntpleaps.patch
16 ./configure --prefix=/usr \
17 --build=arm-unknown-linux-gnu
18 make
19 make DESTDIR=$PKG install
20 install -D -m 755 $SRC/rdate $PKG/etc/cron/daily/rdate
21 }