Skip to content

Instantly share code, notes, and snippets.

@andrew-blake
Last active October 24, 2024 02:44
Show Gist options
  • Select an option

  • Save andrew-blake/5f43c47b832ca99bac06b3283f168cd5 to your computer and use it in GitHub Desktop.

Select an option

Save andrew-blake/5f43c47b832ca99bac06b3283f168cd5 to your computer and use it in GitHub Desktop.
Legacy homebrew xerces-c.rb @ 3.1
# brew install https://xxx/xerces-c.rb
require 'formula'
class XercesC <Formula
url 'https://archive.apache.org/dist/xerces/c/3/sources/xerces-c-3.1.0.tar.gz'
homepage 'http://xerces.apache.org/xerces-c/'
def install
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
system "make install"
end
end
@andrew-blake
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment