From 12335518ab39608d58370c85ff9f5384ad2aa5f7 Mon Sep 17 00:00:00 2001 From: MCApollo <34170230+MCApollo@users.noreply.github.com> Date: Sat, 20 Apr 2019 20:49:46 -0500 Subject: Ported in the homebrew-marauder for a hacky update/import system. TODO: Maybe add a license & fix up messy code. --- homebrew/ser2net/.beer | 27 +++++++++++++++++++++++++++ homebrew/ser2net/.make.sh-auto | 6 ++++++ homebrew/ser2net/_metadata/description | 1 + homebrew/ser2net/_metadata/homepage | 1 + homebrew/ser2net/_metadata/name | 1 + homebrew/ser2net/_metadata/version | 1 + homebrew/ser2net/download.sh | 1 + 7 files changed, 38 insertions(+) create mode 100644 homebrew/ser2net/.beer create mode 100644 homebrew/ser2net/.make.sh-auto create mode 100644 homebrew/ser2net/_metadata/description create mode 100644 homebrew/ser2net/_metadata/homepage create mode 100644 homebrew/ser2net/_metadata/name create mode 100644 homebrew/ser2net/_metadata/version create mode 100755 homebrew/ser2net/download.sh (limited to 'homebrew/ser2net') diff --git a/homebrew/ser2net/.beer b/homebrew/ser2net/.beer new file mode 100644 index 000000000..19dab7965 --- /dev/null +++ b/homebrew/ser2net/.beer @@ -0,0 +1,27 @@ +{ + "name": "Ser2net", + "description": "Allow network connections to serial ports", + "url": "https://downloads.sourceforge.net/project/ser2net/ser2net/ser2net-3.5.tar.gz", + "mirror": null, + "homepage": "https://ser2net.sourceforge.io", + "depends": [ + { + "depend": "macos", + "build-depend": false + } + ], + "resource": [], + "conflicts": [], + "patches": [], + "install": [ + "inreplace \"readconfig.c\", \"#include \", \"\"", + "inreplace [\"ser2net.c\", \"ser2net.8\"], \"/etc/ser2net.conf\", \"#{etc}/ser2net.conf\"", + "system \"./configure\", \"--disable-dependency-tracking\",", + "\"--prefix=#{prefix}\",", + "\"--mandir=#{man}\"", + "system \"make\", \"install\", \"LIBS=-lpthread\"", + "etc.install \"ser2net.conf\"" + ], + "version": "3.5", + "file": "ser2net.rb" +} \ No newline at end of file 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 ", "" +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" diff --git a/homebrew/ser2net/_metadata/description b/homebrew/ser2net/_metadata/description new file mode 100644 index 000000000..b4d909c5e --- /dev/null +++ b/homebrew/ser2net/_metadata/description @@ -0,0 +1 @@ +Allow network connections to serial ports diff --git a/homebrew/ser2net/_metadata/homepage b/homebrew/ser2net/_metadata/homepage new file mode 100644 index 000000000..d98370100 --- /dev/null +++ b/homebrew/ser2net/_metadata/homepage @@ -0,0 +1 @@ +https://ser2net.sourceforge.io diff --git a/homebrew/ser2net/_metadata/name b/homebrew/ser2net/_metadata/name new file mode 100644 index 000000000..9d07a1ecd --- /dev/null +++ b/homebrew/ser2net/_metadata/name @@ -0,0 +1 @@ +Ser2net diff --git a/homebrew/ser2net/_metadata/version b/homebrew/ser2net/_metadata/version new file mode 100644 index 000000000..5a958026d --- /dev/null +++ b/homebrew/ser2net/_metadata/version @@ -0,0 +1 @@ +3.5 diff --git a/homebrew/ser2net/download.sh b/homebrew/ser2net/download.sh new file mode 100755 index 000000000..2b9ac9901 --- /dev/null +++ b/homebrew/ser2net/download.sh @@ -0,0 +1 @@ +wget https://downloads.sourceforge.net/project/ser2net/ser2net/ser2net-3.5.tar.gz \ No newline at end of file -- cgit v1.2.3