blob: cfc1352b7de1ab3d36c03a60bd0b28ef7abc6b15 (
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
27
28
29
30
31
|
require 'formula'
class LionOrNewer < Requirement
fatal true
satisfy MacOS.version >= :lion
def message
"ios-webkit-debug-proxy requires Mac OS X 10.7 (Lion) or newer."
end
end
class IosWebkitDebugProxy < Formula
homepage 'https://github.com/google/ios-webkit-debug-proxy'
url 'https://github.com/google/ios-webkit-debug-proxy/archive/1.2.tar.gz'
sha1 'b0e72f586263da2e20c587fc479b8005edf396cf'
depends_on LionOrNewer
depends_on :autoconf => :build
depends_on :automake => :build
depends_on 'libplist'
depends_on 'usbmuxd'
depends_on 'libimobiledevice'
def install
system "./autogen.sh"
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end
|