blob: e32c1394a009295b761d1a9a46d1c8be7ab5208c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
  | 
require 'formula'
class Uwsgi < Formula
  homepage 'http://projects.unbit.it/uwsgi/'
  url 'http://projects.unbit.it/downloads/uwsgi-1.9.18.2.tar.gz'
  sha1 '613328a2da84a7eb3b6f01f892833f2ef8e591ca'
  depends_on 'pcre'
  depends_on 'libyaml'
  def install
    %w{CFLAGS LDFLAGS}.each { |e| ENV.append e, "-arch #{MacOS.preferred_arch}" }
    system "python", "uwsgiconfig.py", "--build"
    bin.install "uwsgi"
  end
end
  |