2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-06-04 18:21:19 +00:00
|
|
|
|
|
|
|
class XmlrpcC <Formula
|
2009-11-12 13:09:19 +00:00
|
|
|
@url='http://downloads.sourceforge.net/sourceforge/xmlrpc-c/xmlrpc-c-1.06.33.tgz'
|
2009-06-04 18:21:19 +00:00
|
|
|
@md5='7dda4d8c5d26ae877d3809e428ce7962'
|
|
|
|
@homepage='http://xmlrpc-c.sourceforge.net/'
|
|
|
|
|
|
|
|
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
|
|
|
|
end
|