aboutsummaryrefslogblamecommitdiff
path: root/Formula/autoqemu-latest.rb
blob: 3ad8bcf8161c5b1e5d6ec494dceef81e8dde9fdc (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-0110064bc481a56671dc836e4dffeff1c362ce89.tar.gz'
  sha256 'beda24775f245ab7cb364c3797ce582dfc8dd6020b603b0ff326486ad55e4653'
  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