2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-09-19 09:42:30 +00:00
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class XercesC < Formula
|
2010-02-13 18:10:25 +00:00
|
|
|
homepage 'http://xerces.apache.org/xerces-c/'
|
2013-01-27 23:25:23 +00:00
|
|
|
url 'http://www.apache.org/dyn/closer.cgi?path=xerces/c/3/sources/xerces-c-3.1.1.tar.gz'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '177ec838c5119df57ec77eddec9a29f7e754c8b2'
|
2009-09-19 09:42:30 +00:00
|
|
|
|
|
|
|
def install
|
2013-01-27 23:25:23 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
2009-09-19 09:42:30 +00:00
|
|
|
system "make install"
|
2013-03-21 21:23:49 +00:00
|
|
|
# Remove a sample program that conflicts with libmemcached
|
|
|
|
# on case-insensitive file systems
|
|
|
|
(bin/"MemParse").unlink
|
2009-09-19 09:42:30 +00:00
|
|
|
end
|
|
|
|
end
|