aboutsummaryrefslogtreecommitdiff
path: root/extra/scron/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2019-12-09 23:30:23 +0300
committerCem Keylan <cem@ckyln.com>2019-12-09 23:30:23 +0300
commitbdb038d367a70b571ec73ad462d72dbe566aa694 (patch)
treee92b56cde898bc0a0f417757b9d970fba31d8c92 /extra/scron/build
parentb232efbda91fcfadf3f3440ea22800b4141e440e (diff)
downloadrepository-bdb038d367a70b571ec73ad462d72dbe566aa694.tar.gz
add build files for scron
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"