diff options
| author | Tomas Carnecky | 2010-11-22 00:22:12 +0100 |
|---|---|---|
| committer | Adam Vandenberg | 2011-04-19 08:18:09 -0700 |
| commit | 7663e4f839bea9b6fdad841b1253fa6c9e129673 (patch) | |
| tree | db70f400ce0872758b1ddf1f14789b8730d61275 /Library/Formula | |
| parent | 35a000873a046f083ef89fe5e3315c9e2b4d40f9 (diff) | |
| download | homebrew-7663e4f839bea9b6fdad841b1253fa6c9e129673.tar.bz2 | |
talloc 2.0.1
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/talloc.rb | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Library/Formula/talloc.rb b/Library/Formula/talloc.rb new file mode 100644 index 000000000..41b974a11 --- /dev/null +++ b/Library/Formula/talloc.rb @@ -0,0 +1,20 @@ +require 'formula' + +class Talloc < Formula + url 'http://samba.org/ftp/talloc/talloc-2.0.1.tar.gz' + homepage 'http://talloc.samba.org/' + md5 'c6e736540145ca58cb3dcb42f91cf57b' + + # Don't try to install the swig files to /usr/share + def patches + {:p0 => 'https://trac.macports.org/export/78013/trunk/dports/devel/talloc/files/patch-tallocmk.diff'} + end + + def install + system "./configure", "--prefix=#{prefix}" + system "make install TALLOC_SOLIB=libtalloc.2.0.1.dylib TALLOC_SONAME=libtalloc.2.dylib SONAMEFLAG='-Wl,-dylib_install_name,' EXTRA_TARGETS=" + + ln_s 'libtalloc.2.0.1.dylib', prefix + 'lib/libtalloc.2.dylib' + ln_s 'libtalloc.2.dylib', prefix + 'lib/libtalloc.dylib' + end +end |
