7bd947eb0b
* Use new "url" features * Use keg_only DSL * Use "skip_clean :all" DSL * Whitespace and style cleanups * Make bash invocations less silly * Use new man2-man8 helpers * Remove "FileUtils." since it is included in Formula * Use real names for deps instead of aliases * ENV.x11 now updates path, so remove that from individual brews
16 lines
502 B
Ruby
16 lines
502 B
Ruby
require 'formula'
|
|
|
|
class Scons <Formula
|
|
url 'http://prdownloads.sourceforge.net/scons/scons-2.0.0.final.0.tar.gz'
|
|
homepage 'http://www.scons.org'
|
|
md5 'c2e4c2700cac507caa93d4a3adbbf56f'
|
|
version '2.0.0'
|
|
|
|
def install
|
|
man1.install [gzip('scons-time.1'), gzip('scons.1'), gzip('sconsign.1')]
|
|
system "python", "setup.py", "install",
|
|
"--prefix=#{prefix}",
|
|
"--standalone-lib",
|
|
"--no-version-script", "--no-install-man"
|
|
end
|
|
end
|