homebrew-tap/Formula/ptr89.rb
github-actions[bot] 3727e2998c ptr89: v1.0.4
2025-01-08 02:30:46 +00:00

26 lines
721 B
Ruby

class Ptr89 < Formula
desc "Tool for converting .elf to .vkp patches"
homepage "https://github.com/siemens-mobile-hacks/ptr89"
url "https://github.com/siemens-mobile-hacks/ptr89.git",
tag: "v1.0.4",
revision: "a5d9157e30d5bba8e2a336724754cbb5a9795885"
license "MIT"
head "https://github.com/siemens-mobile-hacks/ptr89.git", branch: "main"
livecheck do
url :stable
strategy :github_latest
end
depends_on "cmake" => :build
def install
system "cmake", "-S", ".", "-B", "build", *std_cmake_args
system "cmake", "--build", "build"
system "cmake", "--install", "build"
end
test do
assert_match "Usage: ptr89", shell_output("#{bin}/ptr89 -h 2>&1", 1)
end
end