aboutsummaryrefslogtreecommitdiff
path: root/core/redo
diff options
context:
space:
mode:
Diffstat (limited to 'core/redo')
-rwxr-xr-xcore/redo/build12
-rw-r--r--core/redo/checksums1
-rw-r--r--core/redo/sources1
-rw-r--r--core/redo/version1
4 files changed, 15 insertions, 0 deletions
diff --git a/core/redo/build b/core/redo/build
new file mode 100755
index 00000000..cfc0450a
--- /dev/null
+++ b/core/redo/build
@@ -0,0 +1,12 @@
+#!/bin/sh -e
+
+"${CC:=cc}" -Os -Wall -Wextra -Wwrite-strings -c -o redo.o redo.c
+"$CC" -static -o redo redo.c
+
+for file in redo redo-sources redo-targets; do
+ install -Dm755 "$file" "$1/usr/bin/$file"
+done
+
+for file in redo-ifcreate redo-ifchange redo-always; do
+ ln -sf redo "$1/usr/bin/$file"
+done
diff --git a/core/redo/checksums b/core/redo/checksums
new file mode 100644
index 00000000..3e5c8fc3
--- /dev/null
+++ b/core/redo/checksums
@@ -0,0 +1 @@
+f0394dd4d3285b4898ce79f9206e04abcf0f5122f1df3832583d27a964ee65d4 v0.3.tar.gz
diff --git a/core/redo/sources b/core/redo/sources
new file mode 100644
index 00000000..456d9037
--- /dev/null
+++ b/core/redo/sources
@@ -0,0 +1 @@
+https://github.com/leahneukirchen/redo-c/archive/v0.3.tar.gz
diff --git a/core/redo/version b/core/redo/version
new file mode 100644
index 00000000..cc15c623
--- /dev/null
+++ b/core/redo/version
@@ -0,0 +1 @@
+0.3 1