diff options
| author | Ron White | 2011-11-11 15:54:07 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2011-12-14 20:07:55 -0800 |
| commit | bc229a38ad6f3107daf51cf52a5cb0e98c7b2e2d (patch) | |
| tree | ac2d5ebf94960d6512df8f5612727ef66f170e30 | |
| parent | 911726fb59eea59736946482a7a7e837dd3444ec (diff) | |
| download | homebrew-bc229a38ad6f3107daf51cf52a5cb0e98c7b2e2d.tar.bz2 | |
pcntl-php 5.3.6
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
| -rw-r--r-- | Library/Formula/pcntl-php.rb | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Library/Formula/pcntl-php.rb b/Library/Formula/pcntl-php.rb new file mode 100644 index 000000000..732cfe434 --- /dev/null +++ b/Library/Formula/pcntl-php.rb @@ -0,0 +1,25 @@ +require 'formula' + +class PcntlPhp < Formula + url 'http://museum.php.net/php5/php-5.3.6.tar.gz' + homepage 'http://php.net/manual/en/book.pcntl.php' + md5 '88a2b00047bc53afbbbdf10ebe28a57e' + + def install + Dir.chdir "ext/pcntl" + system "phpize" + system "./configure", "--disable-dependency-tracking", + "--prefix=#{prefix}" + system "make" + prefix.install "modules/pcntl.so" + end + + def caveats; <<-EOS.undent + To finish pcntl-php installation, you need to add the + following line into php.ini: + extension="#{prefix}/pcntl.so" + Then, restart your webserver and check in phpinfo if + you're able to see something about pcntl. + EOS + end +end |
