CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
util-linux; updated to 2.31.1
[ports/core-arm.git] / openrdate / Pkgfile
index 9b422a588237b498c1fcbdcc2e16c746145204d2..1f701835b095bfde60ae41f1bd03d8a441d5c4d4 100644 (file)
@@ -1,18 +1,20 @@
 # Description: Time setting software implementing RFC 868 (inetd time) and RFC 2030 (SNTP/NTP) protocols
-# URL:         http://sourceforge.net/projects/openrdate/
-# Maintainer:  CRUX System Team, core-ports at crux dot nu
+# URL: http://sourceforge.net/projects/openrdate/
+# Maintainer: CRUX System Team, core-ports at crux dot nu
 
 name=openrdate
 version=1.2
-release=2
+release=3
 source=(http://downloads.sourceforge.net/project/$name/$name/$name-$version.tar.gz/$name-$version.tar.gz 
-        rdate ntp.patch)
+        rdate ntp.patch ntpleaps.patch)
 
 build() {
-    cd $name-$version
+  cd $name-$version
   patch -p1 -i $SRC/ntp.patch
-    ./configure --prefix=/usr
-    make
-    make DESTDIR=$PKG install
-    install -D -m 755 $SRC/rdate $PKG/etc/cron/daily/rdate
+  # FS1462
+  patch -p1 -i $SRC/ntpleaps.patch
+  ./configure --prefix=/usr
+  make
+  make DESTDIR=$PKG install
+  install -D -m 755 $SRC/rdate $PKG/etc/cron/daily/rdate
 }