diff options
Diffstat (limited to 'homebrew/namebench')
-rw-r--r-- | homebrew/namebench/.beer | 20 | ||||
-rw-r--r-- | homebrew/namebench/.make.sh-auto | 5 | ||||
-rw-r--r-- | homebrew/namebench/_metadata/description | 1 | ||||
-rw-r--r-- | homebrew/namebench/_metadata/homepage | 1 | ||||
-rw-r--r-- | homebrew/namebench/_metadata/name | 1 | ||||
-rw-r--r-- | homebrew/namebench/_metadata/version | 1 | ||||
-rwxr-xr-x | homebrew/namebench/download.sh | 1 |
7 files changed, 30 insertions, 0 deletions
diff --git a/homebrew/namebench/.beer b/homebrew/namebench/.beer new file mode 100644 index 000000000..a21b16d86 --- /dev/null +++ b/homebrew/namebench/.beer @@ -0,0 +1,20 @@ +{ + "name": "Namebench", + "description": "DNS benchmark utility", + "url": "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/namebench/namebench-1.3.1-source.tgz", + "mirror": null, + "homepage": "https://code.google.com/archive/p/namebench/", + "depends": [], + "resource": [], + "conflicts": [], + "patches": [], + "install": [ + "ENV.prepend_create_path \"PYTHONPATH\", libexec/\"lib/python2.7/site-packages\"", + "system \"python\", \"setup.py\", \"install\", \"--prefix=#{libexec}\",", + "\"--install-data=#{libexec}/lib/python2.7/site-packages\"", + "bin.install \"namebench.py\" => \"namebench\"", + "bin.env_script_all_files(libexec/\"bin\", :PYTHONPATH => ENV[\"PYTHONPATH\"])" + ], + "version": "1.3.1", + "file": "namebench.rb" +}
\ No newline at end of file diff --git a/homebrew/namebench/.make.sh-auto b/homebrew/namebench/.make.sh-auto new file mode 100644 index 000000000..889d1b269 --- /dev/null +++ b/homebrew/namebench/.make.sh-auto @@ -0,0 +1,5 @@ +pkg:setup +ENV.prepend_create_path "PYTHONPATH", libexec/"lib/python2.7/site-packages" +python setup.py install --prefix=#{libexec} --install-data=#{libexec}/lib/python2.7/site-packages +bin.install "namebench.py" => "namebench" +bin.env_script_all_files(libexec/"bin", :PYTHONPATH => ENV["PYTHONPATH"]) diff --git a/homebrew/namebench/_metadata/description b/homebrew/namebench/_metadata/description new file mode 100644 index 000000000..08cd40154 --- /dev/null +++ b/homebrew/namebench/_metadata/description @@ -0,0 +1 @@ +DNS benchmark utility diff --git a/homebrew/namebench/_metadata/homepage b/homebrew/namebench/_metadata/homepage new file mode 100644 index 000000000..977cf0f41 --- /dev/null +++ b/homebrew/namebench/_metadata/homepage @@ -0,0 +1 @@ +https://code.google.com/archive/p/namebench/ diff --git a/homebrew/namebench/_metadata/name b/homebrew/namebench/_metadata/name new file mode 100644 index 000000000..a99089733 --- /dev/null +++ b/homebrew/namebench/_metadata/name @@ -0,0 +1 @@ +Namebench diff --git a/homebrew/namebench/_metadata/version b/homebrew/namebench/_metadata/version new file mode 100644 index 000000000..3a3cd8cc8 --- /dev/null +++ b/homebrew/namebench/_metadata/version @@ -0,0 +1 @@ +1.3.1 diff --git a/homebrew/namebench/download.sh b/homebrew/namebench/download.sh new file mode 100755 index 000000000..d226611fd --- /dev/null +++ b/homebrew/namebench/download.sh @@ -0,0 +1 @@ +wget https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/namebench/namebench-1.3.1-source.tgz
\ No newline at end of file |