Skip to content

Instantly share code, notes, and snippets.

@hara
Created January 22, 2011 16:06
Show Gist options
  • Save hara/791199 to your computer and use it in GitHub Desktop.
Save hara/791199 to your computer and use it in GitHub Desktop.
require 'formula'
class Libxslt < Formula
url 'ftp://xmlsoft.org/libxml2/libxslt-1.1.26.tar.gz'
homepage 'http://xmlsoft.org/XSLT/'
md5 'e61d0364a30146aaa3001296f853b2b9'
depends_on 'libxml2'
keg_only :provided_by_osx
def install
libxml2_path = `brew --prefix libxml2`
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}", "-with-libxml-prefix=#{libxml2_path}"
system "make install"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment