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

class XmlrpcC < Formula
  homepage 'http://xmlrpc-c.sourceforge.net/'
  url 'http://svn.code.sf.net/p/xmlrpc-c/code/stable', :revision => 2489
  version '1.33.03'

  def install
    ENV.deparallelize
    # --enable-libxml2-backend to lose some weight and not statically link in expat
    system "./configure", "--enable-libxml2-backend",
                          "--prefix=#{prefix}"

    # xmlrpc-config.h cannot be found if only calling make install
    system "make"
    system "make install"
  end
end