-
Notifications
You must be signed in to change notification settings - Fork 12
/
pebble-qemu.rb
33 lines (27 loc) · 1011 Bytes
/
pebble-qemu.rb
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
32
33
class PebbleQemu < Formula
homepage "https://github.com/pebble/qemu"
url "[email protected]:pebble/qemu-dev.git", :using => :git
version "2.1.1"
bottle do
root_url "http://pebble-homebrew.s3.amazonaws.com"
sha256 "863f8d5249ce567870fa7b3ec1fea35d3f0d82b5b6cb057d690159d91904c703" => :yosemite
end
option "with-public-repo", "Build using the public Pebble QEMU repo"
if build.with? "public-repo"
url "[email protected]:pebble/qemu.git", :using => :git
end
depends_on "pkg-config" => :build
depends_on "glib" => :build
depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "libtool" => :build
def install
system "./configure", "--disable-werror",
"--enable-debug",
'--target-list=arm-softmmu',
"--extra-cflags=-DSTM32_UART_NO_BAUD_DELAY",
"--prefix=#{prefix}",
"--disable-mouse"
system "make", "install"
end
end