2009-10-13 01:50:41 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Scons < Formula
|
2011-10-02 10:07:45 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/scons/scons/2.1.0/scons-2.1.0.tar.gz'
|
2009-10-13 01:50:41 +00:00
|
|
|
homepage 'http://www.scons.org'
|
2011-10-02 10:07:45 +00:00
|
|
|
md5 '47daf989e303a045b76c11236df719df'
|
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')
|
2011-09-01 04:25:42 +00:00
|
|
|
system "/usr/bin/python", "setup.py", "install",
|
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--standalone-lib",
|
|
|
|
"--no-version-script", "--no-install-man"
|
2009-10-13 01:50:41 +00:00
|
|
|
end
|
|
|
|
end
|