Skip to content

Instantly share code, notes, and snippets.

@jk
Created March 8, 2015 10:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jk/65bdb792a94d10c7cb6c to your computer and use it in GitHub Desktop.
Save jk/65bdb792a94d10c7cb6c to your computer and use it in GitHub Desktop.
User Operations for Zend — https://github.com/krakjoe/uopz
require File.expand_path("../../Abstract/abstract-php-extension", __FILE__)
class Php54Uopz < AbstractPhp54Extension
init
homepage 'http://php.net/manual/en/book.uopz.php'
url 'https://github.com/krakjoe/uopz/archive/v2.0.7.tar.gz'
sha1 '9b49b52954046d7d4b3d41a8ca8f44f724795f8a'
head 'https://github.com/krakjoe/uopz.git'
version '2.0.7'
def install
ENV.universal_binary if build.universal?
safe_phpize
system "./configure", "--prefix=#{prefix}",
phpconfig
system "make"
prefix.install "modules/uopz.so"
write_config_file if build.with? "config-file"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment