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'
|
2012-08-03 19:54:43 +00:00
|
|
|
sha1 '93a7ffaa0e0942f3446810777154bf78053cc66c'
|
2012-06-04 03:40:29 +00:00
|
|
|
|
2012-03-16 02:36:58 +00:00
|
|
|
head 'https://github.com/FreeRDP/FreeRDP.git'
|
2012-01-17 22:37:09 +00:00
|
|
|
|
2012-08-05 12:56:06 +00:00
|
|
|
depends_on :x11
|
2012-01-17 22:37:09 +00:00
|
|
|
depends_on 'cmake' => :build
|
|
|
|
depends_on 'pkg-config' => :build
|
|
|
|
|
2012-08-03 20:00:56 +00:00
|
|
|
# Upstream; check for removal on 1.1 release.
|
2012-04-05 12:12:59 +00:00
|
|
|
def patches
|
2012-08-03 19:54:43 +00:00
|
|
|
[
|
2012-08-03 20:00:56 +00:00
|
|
|
'https://github.com/FreeRDP/FreeRDP/commit/1d3289.patch',
|
|
|
|
'https://github.com/FreeRDP/FreeRDP/commit/e32f9e.patch'
|
2012-08-03 19:54:43 +00:00
|
|
|
]
|
2012-04-05 12:12:59 +00:00
|
|
|
end
|
|
|
|
|
2012-01-17 22:37:09 +00:00
|
|
|
def install
|
2012-08-05 12:56:06 +00:00
|
|
|
system "cmake", ".", *std_cmake_args
|
2012-01-17 22:37:09 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|