Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 8c4e1b7468
Fetching contributors…

Cannot retrieve contributors at this time

26 lines (20 sloc) 0.799 kB
require File.join(File.dirname(__FILE__), 'abstract-php-extension')
class Php54Pcntl < AbstractPhpExtension
homepage 'http://php.net/manual/en/book.pcntl.php'
url 'http://www.php.net/get/php-5.4.3.tar.bz2/from/this/mirror'
md5 '51f9488bf8682399b802c48656315cac'
version '5.4.3'
depends_on 'autoconf' => :build
depends_on 'php54' if ARGV.include?('--with-homebrew-php') && !Formula.factory('php54').installed?
def install
Dir.chdir "ext/pcntl"
# See https://github.com/mxcl/homebrew/pull/5947
ENV.universal_binary
safe_phpize
system "./configure", "--prefix=#{prefix}",
"--disable-dependency-tracking"
system "make"
prefix.install "modules/pcntl.so"
write_config_file unless ARGV.include? "--without-config-file"
end
end
Jump to Line
Something went wrong with that request. Please try again.