mirror of
https://github.com/siemens-mobile-hacks/homebrew-tap.git
synced 2026-11-25 21:47:22 +00:00
22 lines
689 B
Ruby
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
|