2009-11-29 17:02:09 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Usbmuxd <Formula
|
2010-10-24 19:53:51 +00:00
|
|
|
url 'http://marcansoft.com/uploads/usbmuxd/usbmuxd-1.0.6.tar.bz2'
|
2009-11-29 17:02:09 +00:00
|
|
|
homepage 'http://marcansoft.com/blog/iphonelinux/usbmuxd/'
|
2010-10-24 19:53:51 +00:00
|
|
|
md5 'c8909cfd9253d8d1a5e26f2ff7e5908b'
|
2009-11-29 17:02:09 +00:00
|
|
|
|
|
|
|
depends_on 'libusb'
|
2010-09-19 17:21:57 +00:00
|
|
|
depends_on 'cmake' => :build
|
2009-11-29 17:02:09 +00:00
|
|
|
|
|
|
|
def install
|
2010-06-02 20:57:43 +00:00
|
|
|
inreplace 'Modules/VersionTag.cmake', '"sh"', '"bash"'
|
|
|
|
system "cmake . #{std_cmake_parameters} -DLIB_SUFFIX=''"
|
2009-11-29 17:02:09 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|