homebrew-core/Formula/fcgiwrap.rb
2015-06-05 14:47:57 +01:00

19 lines
516 B
Ruby

require 'formula'
class Fcgiwrap < Formula
desc "CGI support for Nginx"
homepage 'http://nginx.localdomain.pl/wiki/FcgiWrap'
url 'https://github.com/gnosek/fcgiwrap/archive/1.1.0.tar.gz'
sha1 '8e7b9140b3d96f4635352bb967715477b35caf84'
depends_on 'pkg-config' => :build
depends_on 'autoconf' => :build
depends_on 'automake' => :build
depends_on 'fcgi'
def install
system "autoreconf", "-i"
system "./configure", "--prefix=#{prefix}", "--mandir=#{man}"
system "make install"
end
end