aboutsummaryrefslogblamecommitdiff
path: root/Formula/autoqemu-latest.rb
blob: f58c552d3011459d6ae4a790abae73d580b821b0 (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-2d43f3d00b2cdd328f73a3415d28ce72bd6244e0.tar.gz'
  sha256 '68c149c5ee93fd4c72faa30260ad84537080520ac5195bc44f48045e83247d36'
  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