aboutsummaryrefslogtreecommitdiff
path: root/Formula/autoqemu-latest.rb
blob: a15382423e60c8f7e7cf56e10392a9d31c026383 (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-a62d3425d91bb65ab883d8487fc73431a22487d4.tar.gz'
  sha256 '8a2d95966d7ebe2cf8af928c8807a42a84e45111e60840fdf5737e17a987900a'
  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