diff options
| author | Nik Cubrilovic | 2013-08-12 00:25:12 +1000 |
|---|---|---|
| committer | Adam Vandenberg | 2013-09-30 23:13:02 -0700 |
| commit | 69334fa6b19e78fd1de9b823668e43ca82db3fd3 (patch) | |
| tree | 039ba10b752ba67f3a316497a4e913356425654e /Library/Formula | |
| parent | 6013aa12ae5b95466b9464aadbf338b63524eb0c (diff) | |
| download | homebrew-69334fa6b19e78fd1de9b823668e43ca82db3fd3.tar.bz2 | |
namebench 1.3.1
Closes #21818.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/namebench.rb | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Library/Formula/namebench.rb b/Library/Formula/namebench.rb new file mode 100644 index 000000000..5de200063 --- /dev/null +++ b/Library/Formula/namebench.rb @@ -0,0 +1,22 @@ +require 'formula' + +class Namebench < Formula + homepage 'https://code.google.com/p/namebench/' + url 'https://namebench.googlecode.com/files/namebench-1.3.1-source.tgz' + sha1 '2e6ca5a4f20512cb967c5ac43b023cc38c271131' + + depends_on :python + + option 'no-third-party', 'Do not install bundled third-party modules' + + def install + ENV['NO_THIRD_PARTY']='1' if build.include?('no-third-party') + + python do + system python, "setup.py", "install", "--prefix=#{prefix}", + "--install-data=#{python.site_packages}" + end + + bin.install bin/'namebench.py' => 'namebench' + end +end |
