aboutsummaryrefslogblamecommitdiff
path: root/Formula/autoqemu-latest.rb
blob: 2a9784fe64120941eb6e652fab7ecea77963c539 (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                                                                         

                                                                                                           


                             

                          
                                                





                                  
class AutoqemuLatest < Formula
  desc 'Installation and setup automation tool for QEMU virtual machines'
  homepage 'https://autoqemu.euandreh.xyz'
  url 'https://git.euandreh.xyz/autoqemu/snapshot/autoqemu-5f619467601a7ff2af973c4fd80d22fe77f6123b.tar.gz'
  sha256 'd0de94b6a4733fff1c6f971f3b71f74e7662d9c40fedceda1a613190dcca8043'
  license 'AGPL-3.0-or-later'

  def install
    system 'make'
    system 'make', 'check'
    system 'make', 'install', "PREFIX=#{prefix}"
  end

  test do
    system "#{bin}/autoqemu", '-V'
  end
end