aboutsummaryrefslogblamecommitdiff
path: root/Formula/autoqemu-latest.rb
blob: ad9e3225c4d8b00e9853f79724aa8a147bf3acd4 (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-7e70e0f0488a7bcaddcb8abb2838e3eee298a129.tar.gz'
  sha256 'b140884125579a29029df9294082a837528c5fe72e99177d75d356e38cca79d4'
  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