blob: 8babd32f08900badd04b5c5fce1812181fceec8d (
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
|
require 'formula'
class Sdcv < Formula
homepage 'http://sdcv.sourceforge.net/'
url 'https://svn.code.sf.net/p/sdcv/code/trunk',
:using => UnsafeSubversionDownloadStrategy, :revision => '76'
version '0.5-2013-09-10'
depends_on 'pkg-config' => :build
depends_on 'cmake' => :build
depends_on 'gettext'
depends_on 'glib'
depends_on 'readline'
# see: https://github.com/Homebrew/homebrew/issues/26321
fails_with :clang do
build 425
cause "clang 425 does not provide complete enough C++11 features"
end
fails_with :gcc
fails_with :llvm
fails_with :gcc_4_0
def install
mkdir 'build' do
system "cmake", "..", *std_cmake_args
system "make", "lang"
system "make", "install"
end
end
end
|