mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-12-02 05:29:47 -05:00
17 lines
369 B
Ruby
17 lines
369 B
Ruby
require 'brewkit'
|
|
|
|
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'
|
|
end
|
|
|
|
def install
|
|
system "./bootstrap --prefix=#{prefix} --system-libs"
|
|
system "make install"
|
|
|
|
['man','doc'].each { |d| (prefix+d).mv prefix+'share' }
|
|
end
|
|
end |