diff options
Diffstat (limited to 'homebrew/ser2net')
-rw-r--r-- | homebrew/ser2net/.beer | 27 | ||||
-rw-r--r-- | homebrew/ser2net/.make.sh-auto | 6 | ||||
-rw-r--r-- | homebrew/ser2net/_metadata/description | 1 | ||||
-rw-r--r-- | homebrew/ser2net/_metadata/homepage | 1 | ||||
-rw-r--r-- | homebrew/ser2net/_metadata/name | 1 | ||||
-rw-r--r-- | homebrew/ser2net/_metadata/version | 1 | ||||
-rwxr-xr-x | homebrew/ser2net/download.sh | 1 |
7 files changed, 38 insertions, 0 deletions
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 <values.h>\", \"\"", + "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 <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" 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 |