homebrew-core/Formula/scons.rb

23 lines
663 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Scons < Formula
homepage 'http://www.scons.org'
url 'http://downloads.sourceforge.net/scons/scons-2.3.0.tar.gz'
sha1 '728edf20047a9f8a537107dbff8d8f803fd2d5e3'
depends_on :python
def install
2010-09-19 18:15:10 +00:00
man1.install gzip('scons-time.1', 'scons.1', 'sconsign.1')
python do
system python, "setup.py", "install",
"--prefix=#{prefix}",
"--standalone-lib",
# SCons gets handsy with sys.path---`scons-local` is one place it
# will look when all is said and done.
"--install-data=#{libexec}",
"--no-version-script", "--no-install-man"
end
end
end