Created
March 8, 2015 10:42
-
-
Save jk/65bdb792a94d10c7cb6c to your computer and use it in GitHub Desktop.
User Operations for Zend — https://github.com/krakjoe/uopz
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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