homebrew-core/Formula/libslax.rb
Brandon Bennett 2f1cf1f97d libslax 0.12.3
Closes Homebrew/homebrew#17292.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-01-24 19:09:34 -08:00

22 lines
549 B
Ruby

require 'formula'
class Libslax < Formula
homepage 'https://code.google.com/p/libslax/'
url 'http://libslax.googlecode.com/files/libslax-0.12.3.tar.gz'
sha1 'e3708a7bc1946ba99d324ad443d49d6f025b2531'
depends_on 'libtool' => :build
# Need newer versions of these libraries
if MacOS.version <= :lion
depends_on 'libxml2'
depends_on 'libxslt'
depends_on 'curl'
end
def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end