homebrew-core/Formula/libxslt.rb
Brett Koonce 574d4dca9b libxslt 1.1.28
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-01-17 21:11:10 -08:00

25 lines
666 B
Ruby

require 'formula'
class Libxslt < Formula
homepage 'http://xmlsoft.org/XSLT/'
url 'ftp://xmlsoft.org/libxml2/libxslt-1.1.28.tar.gz'
sha1 '4df177de629b2653db322bfb891afa3c0d1fa221'
keg_only :provided_by_osx
depends_on 'libxml2'
def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--with-libxml-prefix=#{Formula.factory('libxml2').prefix}"
system "make"
system "make install"
end
def caveats; <<-EOS.undent
To allow the nokogiri gem to link against this libxslt run:
gem install nokogiri -- --with-xslt-dir=#{prefix}
EOS
end
end