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/'
|
2013-03-30 07:16:27 +00:00
|
|
|
url 'http://svn.code.sf.net/p/xmlrpc-c/code/stable', :revision => 2489
|
|
|
|
version '1.33.03'
|
2012-07-30 14:59:00 +00:00
|
|
|
|
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
|
2013-03-31 19:42:05 +00:00
|
|
|
system "./configure", "--enable-libxml2-backend",
|
2012-03-10 22:29:37 +00:00
|
|
|
"--prefix=#{prefix}"
|
2013-03-20 08:41:55 +00:00
|
|
|
|
|
|
|
# xmlrpc-config.h cannot be found if only calling make install
|
|
|
|
system "make"
|
2009-06-04 18:21:19 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
2011-03-10 05:11:03 +00:00
|
|
|
end
|