09ae58682d
Closes Homebrew/homebrew#21828. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
24 lines
703 B
Ruby
24 lines
703 B
Ruby
require 'formula'
|
|
|
|
class Libslax < Formula
|
|
homepage 'http://www.libslax.org/'
|
|
url 'https://github.com/Juniper/libslax/releases/download/0.16.17/libslax-0.16.17.tar.gz'
|
|
sha1 '5ea74b24fed44126955230de9a0e5cbff5bd0361'
|
|
|
|
head 'https://github.com/Juniper/libslax.git'
|
|
|
|
depends_on 'automake' => :build if build.head?
|
|
depends_on 'libtool' => :build
|
|
depends_on 'libxml2'
|
|
depends_on 'libxslt'
|
|
depends_on 'curl' if MacOS.version <= :lion
|
|
|
|
def install
|
|
# If build from read run script to run autoconf
|
|
system "sh ./bin/setup.sh" if build.head?
|
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
"--prefix=#{prefix}"
|
|
system "make install"
|
|
end
|
|
end
|