Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (15 sloc) 587 Bytes
require 'formula'
class HandlersocketPhp < Formula
homepage 'http://code.google.com/p/php-handlersocket/'
url 'http://php-handlersocket.googlecode.com/files/php-handelrsocket-0.3.1.tar.gz'
md5 '87689883a01fd9bc8b0467c0bd96cf6a'
depends_on 'libhsclient'
def install
libhsclient_prefix = Formula.factory('libhsclient').prefix
system "phpize"
system "./configure", "--prefix=#{prefix}",
"--with-handlersocket-includedir=#{libhsclient_prefix}/include/handlersocket"
system "make"
prefix.install 'modules/handlersocket.so'
end
end