summaryrefslogtreecommitdiff
path: root/homebrew/ttyrec/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/ttyrec/.make.sh-auto')
-rw-r--r--homebrew/ttyrec/.make.sh-auto5
1 files changed, 5 insertions, 0 deletions
diff --git a/homebrew/ttyrec/.make.sh-auto b/homebrew/ttyrec/.make.sh-auto
new file mode 100644
index 000000000..ae6c849a7
--- /dev/null
+++ b/homebrew/ttyrec/.make.sh-auto
@@ -0,0 +1,5 @@
+pkg:setup
+inreplace "ttyrec.c", "<libutil.h>", "<util.h>"
+make CFLAGS=${CFLAGS} -DHAVE_openpty
+bin.install %w[ttytime ttyplay ttyrec]
+man1.install Dir["*.1"]