summaryrefslogtreecommitdiff
path: root/homebrew/nuttcp
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/nuttcp')
-rw-r--r--homebrew/nuttcp/.beer19
-rw-r--r--homebrew/nuttcp/.make.sh-auto4
-rw-r--r--homebrew/nuttcp/_metadata/description1
-rw-r--r--homebrew/nuttcp/_metadata/homepage1
-rw-r--r--homebrew/nuttcp/_metadata/name1
-rw-r--r--homebrew/nuttcp/_metadata/version1
-rwxr-xr-xhomebrew/nuttcp/download.sh1
7 files changed, 28 insertions, 0 deletions
diff --git a/homebrew/nuttcp/.beer b/homebrew/nuttcp/.beer
new file mode 100644
index 000000000..a44840de2
--- /dev/null
+++ b/homebrew/nuttcp/.beer
@@ -0,0 +1,19 @@
+{
+ "name": "Nuttcp",
+ "description": "Network performance measurement tool",
+ "url": "https://www.nuttcp.net/nuttcp/nuttcp-8.1.4.tar.bz2",
+ "mirror": null,
+ "homepage": "https://www.nuttcp.net/nuttcp",
+ "depends": [],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "system \"make\", \"APP=nuttcp\",",
+ "\"CC=#{ENV.cc}\", \"CFLAGS=#{ENV.cflags}\"",
+ "bin.install \"nuttcp\"",
+ "man8.install \"nuttcp.cat\" => \"nuttcp.8\""
+ ],
+ "version": "8.1.4",
+ "file": "nuttcp.rb"
+} \ No newline at end of file
diff --git a/homebrew/nuttcp/.make.sh-auto b/homebrew/nuttcp/.make.sh-auto
new file mode 100644
index 000000000..a2feae975
--- /dev/null
+++ b/homebrew/nuttcp/.make.sh-auto
@@ -0,0 +1,4 @@
+pkg:setup
+make APP=nuttcp CC=${PKG_TARG}-clang CFLAGS=${CFLAGS}
+bin.install "nuttcp"
+man8.install "nuttcp.cat" => "nuttcp.8"
diff --git a/homebrew/nuttcp/_metadata/description b/homebrew/nuttcp/_metadata/description
new file mode 100644
index 000000000..e9f3f2695
--- /dev/null
+++ b/homebrew/nuttcp/_metadata/description
@@ -0,0 +1 @@
+Network performance measurement tool
diff --git a/homebrew/nuttcp/_metadata/homepage b/homebrew/nuttcp/_metadata/homepage
new file mode 100644
index 000000000..1edbebb1f
--- /dev/null
+++ b/homebrew/nuttcp/_metadata/homepage
@@ -0,0 +1 @@
+https://www.nuttcp.net/nuttcp
diff --git a/homebrew/nuttcp/_metadata/name b/homebrew/nuttcp/_metadata/name
new file mode 100644
index 000000000..c7c18cd6a
--- /dev/null
+++ b/homebrew/nuttcp/_metadata/name
@@ -0,0 +1 @@
+Nuttcp
diff --git a/homebrew/nuttcp/_metadata/version b/homebrew/nuttcp/_metadata/version
new file mode 100644
index 000000000..ac2895c59
--- /dev/null
+++ b/homebrew/nuttcp/_metadata/version
@@ -0,0 +1 @@
+8.1.4
diff --git a/homebrew/nuttcp/download.sh b/homebrew/nuttcp/download.sh
new file mode 100755
index 000000000..4579323e5
--- /dev/null
+++ b/homebrew/nuttcp/download.sh
@@ -0,0 +1 @@
+wget https://www.nuttcp.net/nuttcp/nuttcp-8.1.4.tar.bz2 \ No newline at end of file