blob: 225414348382f9f07cf3ddb2e0c423ea7992a33a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
require 'formula'
class Dwarf < Formula
homepage 'https://code.google.com/p/dwarf-ng/'
url 'https://dwarf-ng.googlecode.com/files/dwarf-0.3.0.tar.gz'
sha1 '19a69424bd208741a325a4fc0e791a516c3bc8bc'
depends_on 'readline'
# Imports inttypes.h in a generated lex file instead of stdint.h
# Reported upstream: http://code.autistici.org/trac/dwarf/ticket/8
# Also has missing & unwanted return values in some functions
# If the above are fixed, the newer 0.3.1 fails with a missing make target
fails_with :clang do
cause "error: unknown type name 'intmax_t'"
end
def install
system './configure', "--prefix=#{prefix}", '--disable-dependency-tracking'
system "make install"
end
end
|