Last active
November 17, 2021 15:14
-
-
Save kasiimh1/11f29b01eedf2596cd3d2106bcde8dcf to your computer and use it in GitHub Desktop.
Compile tsschecker macOS via brew.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brew install libirecovery.rb | |
brew install libtihmstar-general.rb | |
brew install libfragmentzip.rb | |
brew install tsschecker.rb | |
brew install img4tool.rb | |
brew install libimobiledevice-glue.rb | |
brew install idevicerestore.rb |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Idevicerestore < Formula | |
desc "Restore/upgrade firmware of iOS devices" | |
homepage "https://www.libimobiledevice.org/" | |
url "https://github.com/libimobiledevice/idevicerestore.git" | |
version "git0" | |
head "https://github.com/libimobiledevice/idevicerestore.git" | |
depends_on "autoconf" => :build | |
depends_on "automake" => :build | |
depends_on "libtool" => :build | |
depends_on "pkg-config" => :build | |
depends_on "libimobiledevice" | |
depends_on "libirecovery" | |
depends_on "libplist" | |
depends_on "libzip" | |
def install | |
system "./autogen.sh", "--disable-debug", | |
"--disable-dependency-tracking", | |
"--disable-silent-rules", | |
"--prefix=#{prefix}" | |
system "make" | |
system "make", "install" | |
end | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Img4tool < Formula | |
desc "Tool for manipulating IMG4, IM4M and IM4P files" | |
homepage "https://github.com/tihmstar/img4tool" | |
url "https://github.com/tihmstar/img4tool.git", | |
:tag => "195" | |
head "https://github.com/tihmstar/img4tool.git" | |
depends_on "autoconf" => :build | |
depends_on "automake" => :build | |
depends_on "libtool" => :build | |
depends_on "pkg-config" => :build | |
depends_on "libplist" | |
depends_on "libtihmstar-general" | |
depends_on "[email protected]" | |
def fix_tihmstar | |
inreplace %w[configure.ac], | |
"git rev-list --count HEAD", | |
"echo #{version.to_s.gsub(/[^\d]/, "")}", | |
false | |
end | |
def install | |
fix_tihmstar | |
system "./autogen.sh", "--disable-debug", | |
"--disable-dependency-tracking", | |
"--disable-silent-rules", | |
"--prefix=#{prefix}" | |
system "make" | |
system "make", "install", "PREFIX=#{prefix}" | |
end | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Libfragmentzip < Formula | |
desc "Library for downloading single files from a remote zip archive" | |
homepage "https://github.com/tihmstar/libfragmentzip" | |
url "https://github.com/tihmstar/libfragmentzip.git", | |
:tag => "60" | |
head "https://github.com/tihmstar/libfragmentzip.git" | |
depends_on "autoconf" => :build | |
depends_on "automake" => :build | |
depends_on "libtool" => :build | |
depends_on "pkg-config" => :build | |
depends_on "libtihmstar-general" | |
depends_on "libzip" | |
def fix_tihmstar | |
inreplace %w[configure.ac], | |
"git rev-list --count HEAD", | |
"echo #{version.to_s.gsub(/[^\d]/, "")}", | |
false | |
end | |
def install | |
fix_tihmstar | |
system "./autogen.sh", "--disable-debug", | |
"--disable-dependency-tracking", | |
"--disable-silent-rules", | |
"--prefix=#{prefix}" | |
system "make" | |
system "make", "install" | |
end | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class LibimobiledeviceGlue < Formula | |
desc "Library with common code used by the libraries and tools around the libimobiledevice project." | |
homepage "https://www.libimobiledevice.org/" | |
url "https://github.com/libimobiledevice/libimobiledevice-glue.git" | |
version "git0" | |
head "https://github.com/libimobiledevice/libimobiledevice-glue.git" | |
depends_on "autoconf" => :build | |
depends_on "automake" => :build | |
depends_on "libtool" => :build | |
depends_on "pkg-config" => :build | |
depends_on "libirecovery" | |
depends_on "libplist" | |
depends_on "libzip" | |
def install | |
system "./autogen.sh", "--disable-debug", | |
"--disable-dependency-tracking", | |
"--disable-silent-rules", | |
"--prefix=#{prefix}" | |
system "make" | |
system "make", "install" | |
end | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Libirecovery < Formula | |
desc "Library for communication to iBoot/iBSS on iOS devices via USB" | |
homepage "https://github.com/libimobiledevice/libirecovery" | |
url "https://github.com/libimobiledevice/libirecovery.git" | |
version "git0" | |
depends_on "autoconf" => :build | |
depends_on "automake" => :build | |
depends_on "libtool" => :build | |
depends_on "libusb" | |
def install | |
system "./autogen.sh", "--disable-debug", | |
"--disable-dependency-tracking", | |
"--disable-silent-rules", | |
"--prefix=#{prefix}" | |
system "make" | |
system "make", "install" | |
end | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class LibtihmstarGeneral < Formula | |
desc "General general stuff for tihmstar's projects" | |
homepage "https://github.com/tihmstar/libgeneral" | |
url "https://github.com/tihmstar/libgeneral.git", | |
:tag => "43" | |
head "https://github.com/tihmstar/img4tool.git" | |
keg_only "its an utility library for tihmstar's projects and shouldnt be used by anything else" | |
depends_on "autoconf" => :build | |
depends_on "automake" => :build | |
depends_on "libtool" => :build | |
def fix_tihmstar | |
inreplace %w[configure.ac], | |
"git rev-list --count HEAD", | |
"echo #{version.to_s.gsub(/[^\d]/, "")}", | |
false | |
end | |
def install | |
fix_tihmstar | |
system "./autogen.sh", "--disable-debug", | |
"--disable-dependency-tracking", | |
"--disable-silent-rules", | |
"--prefix=#{prefix}" | |
system "make" | |
system "make", "install", "PREFIX=#{prefix}" | |
end | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Tsschecker < Formula | |
desc "Tool to check tss signing status of various devices" | |
homepage "https://github.com/1Conan/tsschecker" | |
url "https://github.com/1Conan/tsschecker.git" | |
version "364" | |
head "https://github.com/1Conan/tsschecker.git" | |
depends_on "autoconf" => :build | |
depends_on "automake" => :build | |
depends_on "libtool" => :build | |
depends_on "pkg-config" => :build | |
depends_on "libfragmentzip" | |
depends_on "libirecovery" | |
depends_on "libplist" | |
def fix_tihmstar | |
inreplace %w[configure.ac], | |
"git rev-list --count HEAD", | |
"echo #{version.to_s.gsub(/[^\d]/, "")}", | |
false | |
end | |
def install | |
fix_tihmstar | |
system "./autogen.sh", "--disable-debug", | |
"--disable-dependency-tracking", | |
"--disable-silent-rules", | |
"--prefix=#{prefix}" | |
system "make" | |
# we dont need libjssy | |
bin.install "tsschecker/tsschecker" => "tsschecker" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment