2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-06-04 18:21:19 +00:00
|
|
|
|
|
|
|
class XmlrpcC <Formula
|
2010-04-26 15:49:12 +00:00
|
|
|
url 'http://downloads.sourceforge.net/sourceforge/xmlrpc-c/xmlrpc-c-1.06.39.tgz'
|
|
|
|
md5 'ec62fb15cca83ffeaf6a8d53b5ec8614'
|
|
|
|
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
|
|
|
|
end
|