2012-01-17 22:37:09 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Freerdp < Formula
|
|
|
|
homepage 'http://www.freerdp.com/'
|
2012-06-04 03:40:29 +00:00
|
|
|
url 'https://github.com/FreeRDP/FreeRDP/tarball/1.0.1'
|
|
|
|
md5 '1282189a87893bf196da20382e45f6c1'
|
|
|
|
|
2012-03-16 02:36:58 +00:00
|
|
|
head 'https://github.com/FreeRDP/FreeRDP.git'
|
2012-01-17 22:37:09 +00:00
|
|
|
|
|
|
|
depends_on 'cmake' => :build
|
|
|
|
depends_on 'pkg-config' => :build
|
|
|
|
|
2012-04-05 12:12:59 +00:00
|
|
|
# Fixes clang build problems
|
2012-06-04 03:40:29 +00:00
|
|
|
# Already upstream, check for removal on 1.1 release:
|
2012-04-05 12:12:59 +00:00
|
|
|
# https://github.com/FreeRDP/FreeRDP/pull/544
|
|
|
|
def patches
|
2012-06-04 03:40:29 +00:00
|
|
|
'https://github.com/bmiklautz/FreeRDP/commit/1d32894775edd1bacdbcb4b6c3e129841b637374.patch'
|
2012-04-05 12:12:59 +00:00
|
|
|
end
|
|
|
|
|
2012-01-17 22:37:09 +00:00
|
|
|
def install
|
2012-05-22 21:37:04 +00:00
|
|
|
system "cmake", ".", *std_cmake_args
|
2012-01-17 22:37:09 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|