aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-12-21 03:13:08 +0300
committerCem Keylan <cem@ckyln.com>2020-12-21 03:13:08 +0300
commitca463ce367fd1af686c47742afd6c09256036922 (patch)
treed6e2cebe15755f16d3390a77ac38aade6234d222
parent374669b4151b53c93193db5dc01f7a72d2fc87b8 (diff)
downloadrepository-ca463ce367fd1af686c47742afd6c09256036922.tar.gz
redo: add new package at 0.3
-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