summaryrefslogtreecommitdiff
path: root/homebrew/ser2net/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/ser2net/.make.sh-auto')
-rw-r--r--homebrew/ser2net/.make.sh-auto6
1 files changed, 6 insertions, 0 deletions
diff --git a/homebrew/ser2net/.make.sh-auto b/homebrew/ser2net/.make.sh-auto
new file mode 100644
index 000000000..554f217c3
--- /dev/null
+++ b/homebrew/ser2net/.make.sh-auto
@@ -0,0 +1,6 @@
+pkg:setup
+inreplace "readconfig.c", "#include <values.h>", ""
+inreplace ["ser2net.c", "ser2net.8"], "/etc/ser2net.conf", "#{etc}/ser2net.conf"
+pkg:configure --disable-dependency-tracking
+make DESTDIR=${PKG_DEST} install LIBS=-lpthread
+etc.install "ser2net.conf"