aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/cmake.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/cmake.rb')
-rw-r--r--Library/Formula/cmake.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Formula/cmake.rb b/Library/Formula/cmake.rb
index 32f77bb96..22c97e861 100644
--- a/Library/Formula/cmake.rb
+++ b/Library/Formula/cmake.rb
@@ -4,11 +4,13 @@ class Cmake <Formula
@url='http://www.cmake.org/files/v2.6/cmake-2.6.3.tar.gz'
@md5='5ba47a94ce276f326abca1fd72a7e7c6'
+ def deps
+ LibraryDep.new 'xmlrpc', 'xmlrpc-c'
+
def install
system "./bootstrap --prefix=#{prefix} --system-libs"
system "make install"
['man','doc'].each { |d| (prefix+d).mv prefix+'share' }
- (doc.parent+'cmake-2.6').mv doc
end
end \ No newline at end of file