aboutsummaryrefslogtreecommitdiff
path: root/Formula/autoqemu-latest.rb
blob: f36ba335ef6bb0bf2ff4ce88ba51ab5f15546720 (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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-ece754c806172a8c0d5904a533f6a173dca1e295.tar.gz'
  sha256 'b18abdbcddc598cd8f25dc7bd0262d141324f2baac0e6c7ff0325d194fd07e7a'
  license 'AGPL-3.0-or-later'

  def install
    system './configure', "--prefix=#{prefix}"
    system 'make'
    system 'make', 'check'
    system 'make', 'install'
  end

  test do
    system "#{bin}/autoqemu", '-V'
  end
end