aboutsummaryrefslogtreecommitdiff
path: root/extra/scron/build
diff options
context:
space:
mode:
Diffstat (limited to 'extra/scron/build')
-rwxr-xr-xextra/scron/build8
1 files changed, 8 insertions, 0 deletions
diff --git a/extra/scron/build b/extra/scron/build
new file mode 100755
index 00000000..6564e5d3
--- /dev/null
+++ b/extra/scron/build
@@ -0,0 +1,8 @@
+#!/bin/sh -e
+
+make CC="${CC:-gcc}"
+make PREFIX="$1/usr" MANPREFIX="$1/usr/share/man" install
+
+
+# Install runit service
+install -Dm755 scron.run "$1/etc/sv/scron/run"