diff options
| author | Baptiste Fontaine | 2015-01-28 09:01:58 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2015-01-28 14:19:09 +0000 |
| commit | 4da9b792e8459bd87e3a45646b28155091d43074 (patch) | |
| tree | bf283b829d3020659cfd6aaeedd8b57a51198e93 | |
| parent | 12bba24269c590c59f00d8135d33d96cb366704f (diff) | |
| download | homebrew-4da9b792e8459bd87e3a45646b28155091d43074.tar.bz2 | |
global 6.3.3
Closes #36306.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
| -rw-r--r-- | Library/Formula/global.rb | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/Library/Formula/global.rb b/Library/Formula/global.rb index a2e928706..62a2ec019 100644 --- a/Library/Formula/global.rb +++ b/Library/Formula/global.rb @@ -1,8 +1,8 @@ class Global < Formula homepage "https://www.gnu.org/software/global/" - url "http://ftpmirror.gnu.org/global/global-6.3.2.tar.gz" - mirror "https://ftp.gnu.org/gnu/global/global-6.3.2.tar.gz" - sha1 "46b681a0ccb84c928a67f6901ca60227ad71b5bd" + url "http://ftpmirror.gnu.org/global/global-6.3.3.tar.gz" + mirror "https://ftp.gnu.org/gnu/global/global-6.3.3.tar.gz" + sha1 "2e66fb1529fe1fb2c473507de91814df4eb50b93" bottle do sha1 "1bce9bd552e38d9cc12eda4998233c20a33321e4" => :mavericks @@ -44,16 +44,16 @@ class Global < Formula end if build.with? "pygments" - ENV.prepend_create_path 'PYTHONPATH', libexec+'lib/python2.7/site-packages' - pygments_args = [ "build", "install", "--prefix=#{libexec}" ] - resource('pygments').stage { system "python", "setup.py", *pygments_args } + ENV.prepend_create_path "PYTHONPATH", libexec+"lib/python2.7/site-packages" + pygments_args = %W[build install --prefix=#{libexec}] + resource("pygments").stage { system "python", "setup.py", *pygments_args } end system "./configure", *args - system "make install" + system "make", "install" if build.with? "pygments" - bin.env_script_all_files(libexec+'bin', :PYTHONPATH => ENV['PYTHONPATH']) + bin.env_script_all_files(libexec/"bin", :PYTHONPATH => ENV["PYTHONPATH"]) end etc.install "gtags.conf" @@ -64,12 +64,12 @@ class Global < Formula end end test do - (testpath/'test.c').write <<-EOF.undent + (testpath/"test.c").write <<-EOF.undent int c2func (void) { return 0; } void cfunc (void) {int cvar = c2func(); }") EOF - if build.with? "pygments" or build.with? "exuberant-ctags" - (testpath/'test.py').write <<-EOF + if build.with?("pygments") || build.with?("exuberant-ctags") + (testpath/"test.py").write <<-EOF def py2func (): return 0 def pyfunc (): |
