aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Vandenberg2011-11-27 12:38:41 -0800
committerAdam Vandenberg2011-11-27 12:38:41 -0800
commit4ebe23bd0857f50bc39e951e65b209be88e4dc2e (patch)
tree6802c3ed06f0cc362827b43329ef8d51a8d2dea2
parent07645b719e01fef79add9e92f74f6c2b9a0cb9fa (diff)
downloadhomebrew-4ebe23bd0857f50bc39e951e65b209be88e4dc2e.tar.bz2
c10t 1.7
-rw-r--r--Library/Formula/c10t.rb13
1 files changed, 9 insertions, 4 deletions
diff --git a/Library/Formula/c10t.rb b/Library/Formula/c10t.rb
index 3aa0e9bee..9b19cf4eb 100644
--- a/Library/Formula/c10t.rb
+++ b/Library/Formula/c10t.rb
@@ -3,20 +3,25 @@ require 'formula'
# Minecraft cartography tool
class C10t < Formula
- url 'https://github.com/udoprog/c10t/tarball/1.4'
+ url 'https://github.com/udoprog/c10t/tarball/1.7'
homepage 'https://github.com/udoprog/c10t'
- md5 '27ff806400602726e45679d444c4489d'
+ md5 '8ba305e2c274469eb8e709f5c68e0c56'
depends_on 'cmake' => :build
depends_on 'boost'
+ # Needed to compile against newer boost
+ # Can be removed for next version of c10t after 1.7
+ # See: https://github.com/udoprog/c10t/pull/153
+ def patches
+ "https://github.com/udoprog/c10t/commit/4a392b9f06d08c70290f4c7591e84ecdbc73d902.diff"
+ end
+
def install
- inreplace 'src/global.hpp', "font.ttf", "#{prefix}/font.ttf"
inreplace 'CMakeLists.txt', 'boost_thread', 'boost_thread-mt'
inreplace 'test/CMakeLists.txt', 'boost_unit_test_framework', 'boost_unit_test_framework-mt'
system "cmake . #{std_cmake_parameters}"
system "make"
bin.install "c10t"
- prefix.install "font.ttf"
end
end