summaryrefslogtreecommitdiff
path: root/homebrew/sflowtool
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/sflowtool')
-rw-r--r--homebrew/sflowtool/.beer26
-rw-r--r--homebrew/sflowtool/.make.sh-auto6
-rw-r--r--homebrew/sflowtool/_metadata/description1
-rw-r--r--homebrew/sflowtool/_metadata/homepage1
-rw-r--r--homebrew/sflowtool/_metadata/name1
-rw-r--r--homebrew/sflowtool/_metadata/version1
-rwxr-xr-xhomebrew/sflowtool/download.sh1
7 files changed, 37 insertions, 0 deletions
diff --git a/homebrew/sflowtool/.beer b/homebrew/sflowtool/.beer
new file mode 100644
index 000000000..ebe4ba5e0
--- /dev/null
+++ b/homebrew/sflowtool/.beer
@@ -0,0 +1,26 @@
+{
+ "name": "Sflowtool",
+ "description": "Utilities and scripts for analyzing sFlow data",
+ "url": "https://github.com/sflow/sflowtool/releases/download/v3.41/sflowtool-3.41.tar.gz",
+ "mirror": null,
+ "homepage": "https://inmon.com/technology/sflowTools.php",
+ "depends": [],
+ "resource": [
+ {
+ "name": "scripts",
+ "url": "https://inmon.com/bin/sflowutils.tar.gz"
+ }
+ ],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "system \"./configure\", \"--disable-dependency-tracking\",",
+ "\"--prefix=#{prefix}\"",
+ "system \"make\"",
+ "system \"make\", \"check\"",
+ "system \"make\", \"install\"",
+ "(prefix/\"contrib\").install resource(\"scripts\")"
+ ],
+ "version": "3.41",
+ "file": "sflowtool.rb"
+} \ No newline at end of file
diff --git a/homebrew/sflowtool/.make.sh-auto b/homebrew/sflowtool/.make.sh-auto
new file mode 100644
index 000000000..a72d19880
--- /dev/null
+++ b/homebrew/sflowtool/.make.sh-auto
@@ -0,0 +1,6 @@
+pkg:setup
+pkg:configure --disable-dependency-tracking
+make
+make check
+make DESTDIR=${PKG_DEST} install
+(prefix/"contrib").install resource("scripts")
diff --git a/homebrew/sflowtool/_metadata/description b/homebrew/sflowtool/_metadata/description
new file mode 100644
index 000000000..6a6f54bc2
--- /dev/null
+++ b/homebrew/sflowtool/_metadata/description
@@ -0,0 +1 @@
+Utilities and scripts for analyzing sFlow data
diff --git a/homebrew/sflowtool/_metadata/homepage b/homebrew/sflowtool/_metadata/homepage
new file mode 100644
index 000000000..98947fb12
--- /dev/null
+++ b/homebrew/sflowtool/_metadata/homepage
@@ -0,0 +1 @@
+https://inmon.com/technology/sflowTools.php
diff --git a/homebrew/sflowtool/_metadata/name b/homebrew/sflowtool/_metadata/name
new file mode 100644
index 000000000..65011e505
--- /dev/null
+++ b/homebrew/sflowtool/_metadata/name
@@ -0,0 +1 @@
+Sflowtool
diff --git a/homebrew/sflowtool/_metadata/version b/homebrew/sflowtool/_metadata/version
new file mode 100644
index 000000000..91bf8e413
--- /dev/null
+++ b/homebrew/sflowtool/_metadata/version
@@ -0,0 +1 @@
+3.41
diff --git a/homebrew/sflowtool/download.sh b/homebrew/sflowtool/download.sh
new file mode 100755
index 000000000..b0fb645fb
--- /dev/null
+++ b/homebrew/sflowtool/download.sh
@@ -0,0 +1 @@
+wget https://github.com/sflow/sflowtool/releases/download/v3.41/sflowtool-3.41.tar.gz \ No newline at end of file