Skip to content

Commit

Permalink
New formula: ideviceinstaller 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ingorichter committed Mar 26, 2012
1 parent 8929b6a commit 6eccaa0
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions Library/Formula/ideviceinstaller.rb
@@ -0,0 +1,27 @@
require 'formula'

class Ideviceinstaller < Formula
url 'http://cgit.sukimashita.com/ideviceinstaller.git/snapshot/ideviceinstaller-1.0.0.tar.gz'
md5 '7f35a8bb0e620db23931af3fff816bef'
head 'http://cgit.sukimashita.com/ideviceinstaller.git', :using => :git
homepage 'http://www.sukimashita.com/'
version '1.0.0'

depends_on 'pkg-config' => :build
depends_on 'libimobiledevice'
depends_on 'glib'
depends_on 'libzip'
depends_on 'libplist'

def install
# fix the m4 problem with the missing pkg.m4
aclocalDefault = `/usr/bin/aclocal --print-ac-dir`
inreplace "autogen.sh", "aclocal -I m4", "aclocal -I m4 -I#{aclocalDefault.strip} -I #{HOMEBREW_PREFIX}/share/aclocal"

system "./autogen.sh"

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

0 comments on commit 6eccaa0

Please sign in to comment.