aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/stormfs.rb
blob: b4bb6fb07a71f52f8d868589bb880f73e5decce6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
require "formula"

class Stormfs < Formula
  homepage "https://github.com/benlemasurier/stormfs"
  url "https://github.com/benlemasurier/stormfs/archive/v0.03.tar.gz"
  sha1 "bae7aeb409b910dd3844cd930f3ad9427d7e1609"

  depends_on "pkg-config" => :build
  depends_on "autoconf" => :build
  depends_on "automake" => :build
  depends_on "glib"
  depends_on "fuse4x"
  depends_on "curl" if MacOS.version <= :leopard

  def install
    system "./autogen.sh"
    system "./configure", "--disable-dependency-tracking",
                          "--prefix=#{prefix}"
    system "make", "install"
  end
end