1204d36729
Closes Homebrew/homebrew#19725. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
22 lines
549 B
Ruby
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.14.8.tar.gz'
|
|
sha1 '86447eb486044008aa54bd3f3af491da8dc0fda7'
|
|
|
|
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
|