Skip to content

Commit

Permalink
gaffitter: use modern cmake syntax
Browse files Browse the repository at this point in the history
Signed-off-by: Rui Chen <[email protected]>

gaffitter: update license

Signed-off-by: Rui Chen <[email protected]>
  • Loading branch information
chenrui333 committed Jul 26, 2024
1 parent 9f46f6d commit 600dfb8
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions Formula/g/gaffitter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ class Gaffitter < Formula
homepage "https://gaffitter.sourceforge.net/"
url "https://downloads.sourceforge.net/project/gaffitter/gaffitter/1.0.0/gaffitter-1.0.0.tar.gz"
sha256 "c85d33bdc6c0875a7144b540a7cce3e78e7c23d2ead0489327625549c3ab23ee"
license "GPL-3.0"
license "GPL-3.0-or-later"

bottle do
sha256 cellar: :any_skip_relocation, arm64_sonoma: "9db231f5fd261b380cc7ef6840714a66e286bb3ad67c9643942d1d62eb79798d"
Expand All @@ -25,10 +25,9 @@ class Gaffitter < Formula
depends_on "cmake" => :build

def install
mkdir "build" do
system "cmake", "..", *std_cmake_args
system "make", "install"
end
system "cmake", "-S", ".", "-B", "build", *std_cmake_args
system "cmake", "--build", "build"
system "cmake", "--install", "build"
end

test do
Expand Down

0 comments on commit 600dfb8

Please sign in to comment.