aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/fcgiwrap.rb
blob: 7e289cfe935fdceec4c032848fbf584e0ff5b0b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
require 'formula'

class Fcgiwrap < Formula
  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