aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/pcntl-php.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/pcntl-php.rb')
-rw-r--r--Library/Formula/pcntl-php.rb15
1 files changed, 8 insertions, 7 deletions
diff --git a/Library/Formula/pcntl-php.rb b/Library/Formula/pcntl-php.rb
index 732cfe434..782676413 100644
--- a/Library/Formula/pcntl-php.rb
+++ b/Library/Formula/pcntl-php.rb
@@ -1,17 +1,18 @@
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'
+ url 'http://museum.php.net/php5/php-5.3.6.tar.gz'
md5 '88a2b00047bc53afbbbdf10ebe28a57e'
def install
- Dir.chdir "ext/pcntl"
- system "phpize"
- system "./configure", "--disable-dependency-tracking",
- "--prefix=#{prefix}"
- system "make"
- prefix.install "modules/pcntl.so"
+ cd "ext/pcntl" do
+ system "phpize"
+ system "./configure", "--disable-dependency-tracking",
+ "--prefix=#{prefix}"
+ system "make"
+ prefix.install "modules/pcntl.so"
+ end
end
def caveats; <<-EOS.undent