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

class Bindfs < Formula
  url 'http://bindfs.googlecode.com/files/bindfs-1.11.tar.gz'
  homepage 'http://code.google.com/p/bindfs/'
  sha1 '9bb15d3b2d64cae4da936be13625010b3cd9f8ef'

  depends_on 'pkg-config' => :build
  depends_on 'fuse4x'

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

  def test
    system "#{bin}/bindfs", "-V"
  end
end