diff options
| author | Adam Vandenberg | 2010-04-29 20:21:50 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2010-04-29 20:21:50 -0700 |
| commit | 63b8f2de01e7ffb78e8b62160624c1be4d5a0936 (patch) | |
| tree | 09858e555b3584c308e13811a022d940cf94cb42 /Library | |
| parent | dfe5b581e9823418a8d71c79b3cff600802bfb15 (diff) | |
| download | homebrew-63b8f2de01e7ffb78e8b62160624c1be4d5a0936.tar.bz2 | |
xdebug updated to 2.1.0RC1
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/xdebug.rb | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/Library/Formula/xdebug.rb b/Library/Formula/xdebug.rb index a6f2e043b..489170b1b 100644 --- a/Library/Formula/xdebug.rb +++ b/Library/Formula/xdebug.rb @@ -1,18 +1,19 @@ require 'formula' class Xdebug <Formula - url 'http://xdebug.org/files/xdebug-2.1.0beta3.tgz' + url 'http://xdebug.org/files/xdebug-2.1.0RC1.tgz' + version '2.1.0RC1' homepage 'http://xdebug.org' - md5 '51eff76e85280ea14860bcf7dbffa899' - version '2.1.0beta3' + md5 '0fc89649daaf5d71f1cd6721268545e8' def install - Dir.chdir 'xdebug-2.1.0beta3' do + Dir.chdir "xdebug-#{version}" do # See http://github.com/mxcl/homebrew/issues/#issue/69 ENV.universal_binary unless Hardware.is_64_bit? system "phpize" - system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking", + system "./configure", "--disable-debug", "--disable-dependency-tracking", + "--prefix=#{prefix}", "--enable-xdebug" system "make" prefix.install 'modules/xdebug.so' @@ -20,15 +21,14 @@ class Xdebug <Formula end def caveats - <<-END_CAVEATS -Add the following line to php.ini: - + <<-EOS +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! - END_CAVEATS + * 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 |
