2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-06-04 18:21:19 +00:00
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class XmlrpcC < Formula
|
2011-09-16 16:07:28 +00:00
|
|
|
url 'http://downloads.sourceforge.net/sourceforge/xmlrpc-c/xmlrpc-c-1.16.38.tgz'
|
|
|
|
md5 'fabb49e5f1efeffa1bedd15a9131699a'
|
2010-04-26 15:49:12 +00:00
|
|
|
homepage 'http://xmlrpc-c.sourceforge.net/'
|
2009-06-04 18:21:19 +00:00
|
|
|
|
|
|
|
def install
|
2009-08-07 14:41:43 +00:00
|
|
|
ENV.deparallelize
|
2009-06-04 18:21:19 +00:00
|
|
|
# choosing --enable-libxml2-backend to lose some weight and not statically
|
|
|
|
# link in expat
|
|
|
|
#NOTE seemingly it isn't possible to build dylibs with this thing
|
2010-02-05 01:40:05 +00:00
|
|
|
system "./configure", "--disable-debug", "--enable-libxml2-backend", "--prefix=#{prefix}"
|
2009-06-04 18:21:19 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
2011-03-10 05:11:03 +00:00
|
|
|
end
|