summaryrefslogtreecommitdiffstats
path: root/openrdate/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'openrdate/Pkgfile')
-rw-r--r--openrdate/Pkgfile21
1 files changed, 21 insertions, 0 deletions
diff --git a/openrdate/Pkgfile b/openrdate/Pkgfile
new file mode 100644
index 0000000..52bb9e4
--- /dev/null
+++ b/openrdate/Pkgfile
@@ -0,0 +1,21 @@
+description="Time setting software implementing RFC 868 (inetd time) and RFC 2030 (SNTP/NTP) protocols."
+packager="CRUX System Team <core-ports AT crux DOT nu>"
+maintainer="Lukc <lukc AT upyum DOT com>"
+url="http://sourceforge.net/projects/openrdate/"
+depends=()
+
+name=openrdate
+version=1.2
+release=1
+source=(
+ http://downloads.sourceforge.net/project/$name/$name/$name-$version.tar.gz/$name-$version.tar.gz
+ rdate
+)
+build ()
+{
+ cd $name-$version;
+ ./configure --prefix=$prefix --mandir=$mandir;
+ make;
+ make DESTDIR=$PKG install;
+ install -D -m 755 $SRC/rdate $PKG/etc/cron/daily/rdate
+}