blob: 3bdeb78a755feea79dc3905e4c5a5ce085a6be50 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
require 'formula'
class Freerdp < Formula
homepage 'http://www.freerdp.com/'
url 'https://github.com/FreeRDP/FreeRDP/tarball/1.0.1'
sha1 '93a7ffaa0e0942f3446810777154bf78053cc66c'
head 'https://github.com/FreeRDP/FreeRDP.git'
depends_on :x11
depends_on 'cmake' => :build
depends_on 'pkg-config' => :build
# Upstream; check for removal on 1.1 release.
def patches
[
'https://github.com/FreeRDP/FreeRDP/commit/1d3289.patch',
'https://github.com/FreeRDP/FreeRDP/commit/e32f9e.patch'
]
end
def install
system "cmake", ".", *std_cmake_args
system "make install"
end
end
|