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

class Fcgiwrap < Formula
  homepage 'http://nginx.localdomain.pl/wiki/FcgiWrap'
  url 'https://github.com/downloads/gnosek/fcgiwrap/fcgiwrap-1.0.3.tar.gz'
  sha1 'f62722efd637aea8ce4e6325c85614cfe2345d8d'

  depends_on :autoconf
  depends_on 'fcgi'

  # Do not strip binaries, or else it fails to run.
  skip_clean :all

  def install
    system "autoreconf", "-i"
    system "./configure", "--prefix=#{prefix}"
    system "make install"
  end
end