2009-11-29 17:02:09 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Usbmuxd < Formula
|
2009-11-29 17:02:09 +00:00
|
|
|
homepage 'http://marcansoft.com/blog/iphonelinux/usbmuxd/'
|
2012-02-22 05:12:27 +00:00
|
|
|
url 'http://marcansoft.com/uploads/usbmuxd/usbmuxd-1.0.7.tar.bz2'
|
2011-05-10 21:21:58 +00:00
|
|
|
md5 '6f431541f3177fa06aa6df9ceecb2da0'
|
2009-11-29 17:02:09 +00:00
|
|
|
|
2010-09-19 17:21:57 +00:00
|
|
|
depends_on 'cmake' => :build
|
2011-05-10 21:21:58 +00:00
|
|
|
depends_on 'libusb'
|
|
|
|
depends_on 'libplist'
|
2009-11-29 17:02:09 +00:00
|
|
|
|
|
|
|
def install
|
2010-06-02 20:57:43 +00:00
|
|
|
inreplace 'Modules/VersionTag.cmake', '"sh"', '"bash"'
|
2012-02-22 05:12:27 +00:00
|
|
|
system "cmake #{std_cmake_parameters} -DLIB_SUFFIX='' ."
|
2009-11-29 17:02:09 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|