namebench 1.3.1

Closes Homebrew/homebrew#21818.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Nik Cubrilovic 2013-08-12 00:25:12 +10:00 committed by Adam Vandenberg
parent 6ff0236605
commit 31fdbb8c6e

22
Formula/namebench.rb Normal file
View file

@ -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