summaryrefslogtreecommitdiff
path: root/homebrew/bittwist
diff options
context:
space:
mode:
authorMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-20 20:49:46 -0500
committerMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-23 20:18:47 -0500
commit12335518ab39608d58370c85ff9f5384ad2aa5f7 (patch)
tree352d81f2a2de3f1252af732080ec0fde38c13b4d /homebrew/bittwist
parenta2b26ad12d4fa12f0273645caf4be6d0b8b71e7c (diff)
Ported in the homebrew-marauder for a hacky update/import system.
TODO: Maybe add a license & fix up messy code.
Diffstat (limited to 'homebrew/bittwist')
-rw-r--r--homebrew/bittwist/.beer17
-rw-r--r--homebrew/bittwist/.make.sh-auto3
-rw-r--r--homebrew/bittwist/_metadata/description1
-rw-r--r--homebrew/bittwist/_metadata/homepage1
-rw-r--r--homebrew/bittwist/_metadata/name1
-rw-r--r--homebrew/bittwist/_metadata/version1
-rwxr-xr-xhomebrew/bittwist/download.sh1
7 files changed, 25 insertions, 0 deletions
diff --git a/homebrew/bittwist/.beer b/homebrew/bittwist/.beer
new file mode 100644
index 000000000..bb97e7018
--- /dev/null
+++ b/homebrew/bittwist/.beer
@@ -0,0 +1,17 @@
+{
+ "name": "Bittwist",
+ "description": "Libcap-based Ethernet packet generator",
+ "url": "https://downloads.sourceforge.net/project/bittwist/Mac%20OS%20X/Bit-Twist%202.0/bittwist-macosx-2.0.tar.gz",
+ "mirror": null,
+ "homepage": "https://bittwist.sourceforge.io",
+ "depends": [],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "system \"make\"",
+ "system \"make\", \"install\", \"prefix=#{prefix}\""
+ ],
+ "version": "2.0",
+ "file": "bittwist.rb"
+} \ No newline at end of file
diff --git a/homebrew/bittwist/.make.sh-auto b/homebrew/bittwist/.make.sh-auto
new file mode 100644
index 000000000..f0017f4fe
--- /dev/null
+++ b/homebrew/bittwist/.make.sh-auto
@@ -0,0 +1,3 @@
+pkg:setup
+make
+make DESTDIR=${PKG_DEST} install prefix=${PKG_TAPF}
diff --git a/homebrew/bittwist/_metadata/description b/homebrew/bittwist/_metadata/description
new file mode 100644
index 000000000..9bb03a1ce
--- /dev/null
+++ b/homebrew/bittwist/_metadata/description
@@ -0,0 +1 @@
+Libcap-based Ethernet packet generator
diff --git a/homebrew/bittwist/_metadata/homepage b/homebrew/bittwist/_metadata/homepage
new file mode 100644
index 000000000..73a531ede
--- /dev/null
+++ b/homebrew/bittwist/_metadata/homepage
@@ -0,0 +1 @@
+https://bittwist.sourceforge.io
diff --git a/homebrew/bittwist/_metadata/name b/homebrew/bittwist/_metadata/name
new file mode 100644
index 000000000..ee366fc2a
--- /dev/null
+++ b/homebrew/bittwist/_metadata/name
@@ -0,0 +1 @@
+Bittwist
diff --git a/homebrew/bittwist/_metadata/version b/homebrew/bittwist/_metadata/version
new file mode 100644
index 000000000..cd5ac039d
--- /dev/null
+++ b/homebrew/bittwist/_metadata/version
@@ -0,0 +1 @@
+2.0
diff --git a/homebrew/bittwist/download.sh b/homebrew/bittwist/download.sh
new file mode 100755
index 000000000..977338534
--- /dev/null
+++ b/homebrew/bittwist/download.sh
@@ -0,0 +1 @@
+wget https://downloads.sourceforge.net/project/bittwist/Mac%20OS%20X/Bit-Twist%202.0/bittwist-macosx-2.0.tar.gz \ No newline at end of file