aboutsummaryrefslogtreecommitdiff
path: root/Formula/autoqemu-latest.rb
blob: a6debb7a38daf7694c735e042f4d694cb9f3c622 (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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-e676c0baedc09f34fbd07877dc3ab47e9427a221.tar.gz'
  sha256 '5f0cc1f0622a421bf6469be12afe86263576df9003ff0f339ad4aaaf7d31dfce'
  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