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
|
2010-04-26 15:49:12 +00:00
|
|
|
homepage 'http://xmlrpc-c.sourceforge.net/'
|
2012-03-10 22:29:37 +00:00
|
|
|
url 'http://downloads.sourceforge.net/sourceforge/xmlrpc-c/xmlrpc-c-1.16.40.tgz'
|
|
|
|
md5 '0b5c026d48c21937261d90bdadda7248'
|
2009-06-04 18:21:19 +00:00
|
|
|
|
|
|
|
def install
|
2009-08-07 14:41:43 +00:00
|
|
|
ENV.deparallelize
|
2012-03-10 22:29:37 +00:00
|
|
|
# --enable-libxml2-backend to lose some weight and not statically link in expat
|
|
|
|
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
|