Sha256: 5a148e550389bfa7473703b95872c1f25543f9a1025db10598e1205ad4e9ea9d
Contents?: true
Size: 1.03 KB
Versions: 2
Compression:
Stored size: 1.03 KB
Contents
require 'formula' class Xdebug < Formula url 'http://xdebug.org/files/xdebug-2.1.1.tgz' homepage 'http://xdebug.org' md5 'fcdf078e715f44b77f13bac721ad63ce' depends_on 'autoconf' => :build def install extensions = lib + %x[php-config --extension-dir].split('lib/')[1].strip Dir.chdir "xdebug-#{version}" do # See https://github.com/mxcl/homebrew/issues/issue/69 ENV.universal_binary system "phpize" system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}", "--enable-xdebug" system "make" extensions.install "modules/xdebug.so" end end def caveats; <<-EOS.undent To use this software: * Add the following line to php.ini: zend_extension="#{prefix}/xdebug.so" * Restart your webserver. * Write a PHP page that calls "phpinfo();" * Load it in a browser and look for the info on the xdebug module. * If you see it, you have been successful! EOS end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
megalodon-0.1.1 | formulas/xdebug.rb |
megalodon-0.1.0 | formulas/xdebug.rb |