blob: 7b4e95242a04f2b1dff3600d3bdefa86512e1a80 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
require 'formula'
class Libcaca < Formula
url 'http://caca.zoy.org/files/libcaca/libcaca-0.99.beta17.tar.gz'
version '0.99b17'
homepage 'http://caca.zoy.org/wiki/libcaca'
md5 '790d6e26b7950e15909fdbeb23a7ea87'
depends_on 'pkg-config' => :build
depends_on 'gettext'
fails_with_llvm "unsupported inline asm: input constraint with a matching output constraint of incompatible type!"
def install
# Some people can't compile when Java is enabled. See:
# https://github.com/mxcl/homebrew/issues/issue/2049
# Don't build csharp bindings
# Don't build ruby bindings; fails for adamv w/ Homebrew Ruby 1.9.2
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--mandir=#{man}",
"--disable-imlib2",
"--disable-doc",
"--disable-slang",
"--disable-java",
"--disable-csharp",
"--disable-ruby"
ENV.j1 # Or install can fail making the same folder at the same time
system "make install"
end
end
|