aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/stormfs.rb
blob: 0d1460f512798921da15db68989f53f8b5b28734 (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
  depends_on :automake
  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