aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/usbmuxd.rb
blob: 789a4056059ad214ebf386ff316a384263a2b291 (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
require "formula"

class Usbmuxd < Formula
  homepage "http://www.libimobiledevice.org"
  url "http://www.libimobiledevice.org/downloads/libusbmuxd-1.0.9.tar.bz2"
  sha1 "7b05ee971ba277591b76040078df598e3710f6db"

  head "http://cgit.sukimashita.com/usbmuxd.git"

  bottle do
    cellar :any
    revision 1
    sha1 "df155e8fd46fb368a27359dfb1d3e38748e62520" => :yosemite
    sha1 "111014819a0d4351ddb074e917f399a74bcf1442" => :mavericks
    sha1 "f23f5dee72baff05e14f59e0b1adbc52e9d2918d" => :mountain_lion
  end

  depends_on "pkg-config" => :build
  depends_on "libusb"
  depends_on "libplist"

  def install
    system "./configure", "--disable-dependency-tracking",
                          "--disable-silent-rules",
                          "--prefix=#{prefix}"
    system "make install"
  end
end