Skip to content

Commit

Permalink
libirecovery 1.1.0-25-g447ae09
Browse files Browse the repository at this point in the history
  • Loading branch information
stek29 committed Mar 7, 2024
1 parent e5c8460 commit 2d0821a
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions Formula/libirecovery.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ class Libirecovery < Formula
desc "Library for communication with iBoot/iBSS of iOS devices via USB"
homepage "https://github.com/libimobiledevice/libirecovery"
url "https://github.com/libimobiledevice/libirecovery.git",
revision: "17c02beca2f99b27dab5c1f83cfe4e33036e462b"
version "1.0.1-46-g17c02be"
revision: "447ae096e4debbcfe63a875154074159cbd551e0"
version "1.1.0-25-g447ae09"
license "LGPL-2.1-or-later"
head "https://github.com/libimobiledevice/libirecovery.git", branch: "master"

Expand All @@ -30,15 +30,19 @@ class Libirecovery < Formula
depends_on "libusb"

def install
system "./autogen.sh", "--disable-debug",
"--disable-dependency-tracking",
"--disable-silent-rules",
"--prefix=#{prefix}"
args = %w[
--disable-debug
--disable-dependency-tracking
--disable-silent-rules
]

system "./autogen.sh", *std_configure_args, *args

system "make"
system "make", "install"
end

test do
assert_equal "irecovery #{version.to_s.split("-").first}\n", shell_output("#{bin}/irecovery -V")
assert_equal "irecovery #{version}\n", shell_output("#{bin}/irecovery -V")
end
end

0 comments on commit 2d0821a

Please sign in to comment.