aboutsummaryrefslogblamecommitdiff
path: root/Formula/autoqemu-latest.rb
blob: efaf4cf4d83eb764743710b0e6f585830727ffa5 (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-3b8714e61a53d0050fc907e4f7d453ee13eca816.tar.gz'
  sha256 'bfc8e8e9a62c36ce963dee68c4c12600a51ac5428fc9e612025bbd4ea94654ac'
  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