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

25 lines (19 sloc) 0.81 kB
require File.join(File.dirname(__FILE__), 'abstract-php-extension')
class Php54Igbinary < AbstractPhpExtension
homepage 'http://pecl.php.net/package/igbinary'
url 'http://pecl.php.net/get/igbinary-1.1.1.tgz'
md5 '4ad53115ed7d1d452cbe50b45dcecdf2'
head 'git://github.com/igbinary/igbinary.git', :using => :git
depends_on 'autoconf' => :build
depends_on 'php54' if ARGV.include?('--with-homebrew-php') && !Formula.factory('php54').installed?
def install
Dir.chdir "igbinary-#{version}" unless ARGV.build_head?
# See https://github.com/mxcl/homebrew/pull/5947
ENV.universal_binary
safe_phpize
system "./configure", "--prefix=#{prefix}"
system "make"
prefix.install %w(modules/igbinary.so)
write_config_file unless ARGV.include? "--without-config-file"
end
end
Jump to Line
Something went wrong with that request. Please try again.