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

class Talloc < Formula
  url 'http://www.samba.org/ftp/talloc/talloc-2.0.5.tar.gz'
  homepage 'http://talloc.samba.org/'
  md5 '6e3fdfbc43dde8ccba27b6af894b8fb2'

  def install
    system "./configure", "--prefix=#{prefix}"
    # See https://bugzilla.samba.org/show_bug.cgi?id=7000
    # It seems that the patch included there is not enough
    inreplace 'Makefile', 'SONAMEFLAG = #', 'SONAMEFLAG = -install_name'

    system "make install"
  end
end