yaml-cpp 0.3.0
parent
a18f78dba8
commit
0572bf8625
|
@ -1,19 +1,14 @@
|
||||||
require 'formula'
|
require 'formula'
|
||||||
|
|
||||||
class YamlCpp < Formula
|
class YamlCpp < Formula
|
||||||
url 'http://yaml-cpp.googlecode.com/files/yaml-cpp-0.2.5.tar.gz'
|
url 'http://yaml-cpp.googlecode.com/files/yaml-cpp-0.3.0.tar.gz'
|
||||||
homepage 'http://code.google.com/p/yaml-cpp/'
|
homepage 'http://code.google.com/p/yaml-cpp/'
|
||||||
md5 'b17dc36055cd2259c88b2602601415d9'
|
sha1 '28766efa95f1b0f697c4b4a1580a9972be7c9c41'
|
||||||
|
|
||||||
depends_on 'cmake' => :build
|
depends_on 'cmake' => :build
|
||||||
depends_on 'libyaml'
|
depends_on 'libyaml'
|
||||||
|
|
||||||
def install
|
def install
|
||||||
|
|
||||||
# Fix for building on 10.6
|
|
||||||
# See: http://code.google.com/p/yaml-cpp/issues/detail?id=68 (Fixed in revision r363)
|
|
||||||
inreplace 'src/token.h', '<ios>', '<iostream>'
|
|
||||||
|
|
||||||
system "cmake . #{std_cmake_parameters}"
|
system "cmake . #{std_cmake_parameters}"
|
||||||
system "make install"
|
system "make install"
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue