summaryrefslogtreecommitdiff
path: root/pkg/scron/gen.lua
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/scron/gen.lua')
-rw-r--r--pkg/scron/gen.lua11
1 files changed, 11 insertions, 0 deletions
diff --git a/pkg/scron/gen.lua b/pkg/scron/gen.lua
new file mode 100644
index 00000000..5144af19
--- /dev/null
+++ b/pkg/scron/gen.lua
@@ -0,0 +1,11 @@
+cflags{
+ '-std=c99 -Wall -Wextra -pedantic',
+ '-D _BSD_SOURCE',
+ '-D _POSIX_C_SOURCE=200809L',
+}
+
+exe('crond', {'crond.c'})
+file('bin/crond', '755', '$outdir/crond')
+man{'scron.1'}
+
+fetch 'git'