aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2013-08-04 21:59:14 -0700
committerAdam Vandenberg2013-08-04 21:59:15 -0700
commitb31143cbce4cab2754a4bf3966fcca9bfb78d181 (patch)
tree3edb88d1b1b8075171ec503aebe6c16341a7a690 /Library/Formula
parent83ea119f167e17024325e0451b6da2315d3f989e (diff)
downloadhomebrew-b31143cbce4cab2754a4bf3966fcca9bfb78d181.tar.bz2
Remove v8cgi
v8cgi has been renamed TeaJS and the current version doesn't build in Homebrew anymore. It requires a specific older version of v8 that we aren't explicitly packaging. Recommend it be moved to an external tap which contains the specific v8 version required. Closes #21616.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/v8cgi.rb49
1 files changed, 0 insertions, 49 deletions
diff --git a/Library/Formula/v8cgi.rb b/Library/Formula/v8cgi.rb
deleted file mode 100644
index a5fcd4a8e..000000000
--- a/Library/Formula/v8cgi.rb
+++ /dev/null
@@ -1,49 +0,0 @@
-require 'formula'
-
-class V8cgi < Formula
- homepage 'http://code.google.com/p/v8cgi/'
- url 'http://v8cgi.googlecode.com/files/v8cgi-0.9.3-src.tar.gz'
- sha1 'a3dd4a648bce71aa3cb37ba2c1921f0605ff50f0'
-
- head 'http://v8cgi.googlecode.com/svn/trunk/'
-
- option "with-dom", "Enable DOM"
-
- depends_on 'scons' => :build
- depends_on 'v8'
- depends_on 'libmemcached'
- depends_on 'xerces-c' if build.with? 'dom'
- depends_on 'gd' => :optional
- depends_on 'sqlite' => :optional
-
- def install
- arch = Hardware.is_64_bit? ? 'x64' : 'ia32'
-
- v8_prefix = Formula.factory('v8').prefix
-
- args = ["config_file=#{etc}/v8cgi.conf", "v8_path=#{v8_prefix}"]
- args << ((build.with? 'dom') ? 'dom=1' : 'dom=0')
- args << ((build.with? 'gd') ? 'gd=1' : 'gd=0')
- args << ((build.with? 'sqlite') ? 'sqlite=1' : 'sqlite=0')
-
- cd 'v8cgi' do
- inreplace 'SConstruct', '../v8', v8_prefix
-
- system "scons",
- "-j #{ENV.make_jobs}",
- "arch=#{arch}",
- "library=shared",
- "socket=1",
- "process=1",
- "cgi=1",
- "mysql=0",
- "gl=0",
- "module=0",
- *args
-
- bin.install 'v8cgi'
- lib.install 'lib' => 'v8cgi'
- etc.install 'v8cgi.conf.darwin' => 'v8cgi.conf'
- end
- end
-end