homebrew-tap/Formula/libffshit.rb
2025-07-19 23:41:55 +03:00

22 lines
689 B
Ruby

class Libffshit < Formula
desc "Siemens Mobile phones filesystem library"
homepage "https://github.com/siemens-mobile-hacks/libffshit"
url "https://github.com/siemens-mobile-hacks/libffshit.git", branch: "main"
version "latest"
license "MIT"
head "https://github.com/siemens-mobile-hacks/libffshit.git", branch: "main"
livecheck do
url :head
strategy :github_latest
end
depends_on "cmake" => :build
depends_on "fmt"
def install
system "cmake", "-DCMAKE_BUILD_TYPE=Release", "-S", ".", "-B", "build", *std_cmake_args
system "cmake", "--build", "build", "--config", "Release"
system "cmake", "--install", "build", "--config", "Release"
end
end