2009-10-13 01:50:41 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Scons <Formula
|
2010-09-17 04:58:37 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/scons/scons/2.0.1/scons-2.0.1.tar.gz'
|
2009-10-13 01:50:41 +00:00
|
|
|
homepage 'http://www.scons.org'
|
2010-09-17 04:58:37 +00:00
|
|
|
md5 'beca648b894cdbf85383fffc79516d18'
|
|
|
|
version '2.0.1'
|
2009-10-13 01:50:41 +00:00
|
|
|
|
|
|
|
def install
|
2010-09-19 18:15:10 +00:00
|
|
|
man1.install gzip('scons-time.1', 'scons.1', 'sconsign.1')
|
2010-02-21 04:13:19 +00:00
|
|
|
system "python", "setup.py", "install",
|
2010-04-07 05:58:35 +00:00
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--standalone-lib",
|
|
|
|
"--no-version-script", "--no-install-man"
|
2009-10-13 01:50:41 +00:00
|
|
|
end
|
|
|
|
end
|