2009-10-13 01:50:41 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Scons < Formula
|
2009-10-13 01:50:41 +00:00
|
|
|
homepage 'http://www.scons.org'
|
2013-03-18 16:43:25 +00:00
|
|
|
url 'http://downloads.sourceforge.net/scons/scons-2.3.0.tar.gz'
|
|
|
|
sha1 '728edf20047a9f8a537107dbff8d8f803fd2d5e3'
|
2009-10-13 01:50:41 +00:00
|
|
|
|
2013-01-21 09:33:56 +00:00
|
|
|
depends_on :python
|
|
|
|
|
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')
|
2013-01-21 09:33:56 +00:00
|
|
|
python do
|
|
|
|
system python, "setup.py", "install",
|
2011-09-01 04:25:42 +00:00
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--standalone-lib",
|
2012-07-06 23:19:40 +00:00
|
|
|
# SCons gets handsy with sys.path---`scons-local` is one place it
|
|
|
|
# will look when all is said and done.
|
|
|
|
"--install-data=#{libexec}",
|
2011-09-01 04:25:42 +00:00
|
|
|
"--no-version-script", "--no-install-man"
|
2012-07-06 23:19:40 +00:00
|
|
|
end
|
2009-10-13 01:50:41 +00:00
|
|
|
end
|
|
|
|
end
|