2010-11-21 23:22:12 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Talloc < Formula
|
2011-04-26 15:28:02 +00:00
|
|
|
url 'http://www.samba.org/ftp/talloc/talloc-2.0.5.tar.gz'
|
2010-11-21 23:22:12 +00:00
|
|
|
homepage 'http://talloc.samba.org/'
|
2011-04-26 15:28:02 +00:00
|
|
|
md5 '6e3fdfbc43dde8ccba27b6af894b8fb2'
|
2010-11-21 23:22:12 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--prefix=#{prefix}"
|
2011-04-26 15:28:02 +00:00
|
|
|
# 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'
|
2010-11-21 23:22:12 +00:00
|
|
|
|
2011-04-26 15:28:02 +00:00
|
|
|
system "make install"
|
2010-11-21 23:22:12 +00:00
|
|
|
end
|
|
|
|
end
|