diff options
Diffstat (limited to 'Formula/xmlrpc-c.rb')
| -rw-r--r-- | Formula/xmlrpc-c.rb | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/Formula/xmlrpc-c.rb b/Formula/xmlrpc-c.rb index 2d0fba3b7..27d6f3a1e 100644 --- a/Formula/xmlrpc-c.rb +++ b/Formula/xmlrpc-c.rb @@ -1,16 +1,16 @@ -$:.unshift "#{File.dirname __FILE__}/../Cellar/homebrew" #rubysucks require 'brewkit' -homepage='http://xmlrpc-c.sourceforge.net/' -url='http://kent.dl.sourceforge.net/sourceforge/xmlrpc-c/xmlrpc-c-1.06.33.tgz' -md5='7dda4d8c5d26ae877d3809e428ce7962' +class XmlrpcC <Formula + @url='http://kent.dl.sourceforge.net/sourceforge/xmlrpc-c/xmlrpc-c-1.06.33.tgz' + @md5='7dda4d8c5d26ae877d3809e428ce7962' + @homepage='http://xmlrpc-c.sourceforge.net/' -Formula.new(url, md5).brew do |prefix| - ENV['MAKEFLAGS']='' #parallel build doesn't work - # 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 - system "./configure --disable-debug --enable-libxml2-backend --prefix='#{prefix}'" - system "make" - system "make install" + def install + ENV['MAKEFLAGS']='' #parallel build doesn't work + # 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 + system "./configure --disable-debug --enable-libxml2-backend --prefix='#{prefix}'" + system "make install" + end end
\ No newline at end of file |
