aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/usbmuxd.rb
blob: 0e3b2275ffbfbb38a8f2b3a32935ede978f55dc4 (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
32
33
34
35
require "formula"

class Usbmuxd < Formula
  homepage "http://www.libimobiledevice.org"
  url "http://www.libimobiledevice.org/downloads/libusbmuxd-1.0.10.tar.bz2"
  sha1 "9d4ce8ac058cfea66e6785d2bad5bb9c93681b16"

  bottle do
    cellar :any
    revision 1
    sha1 "f9cb14678e5e2dbee3f189641d8d390bee938fd3" => :yosemite
    sha1 "1ee806476cda65d5904431815f949dd6074e7a7e" => :mavericks
    sha1 "09014c177d40d10c0a10b5540c92023316382a5f" => :mountain_lion
  end

  head do
    url "http://git.sukimashita.com/libusbmuxd.git"

    depends_on "automake" => :build
    depends_on "autoconf" => :build
    depends_on "libtool" => :build
  end

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

  def install
    system "./autogen.sh" if build.head?
    system "./configure", "--disable-dependency-tracking",
                          "--disable-silent-rules",
                          "--prefix=#{prefix}"
    system "make", "install"
  end
end