aboutsummaryrefslogblamecommitdiff
path: root/Formula/autoqemu.rb
blob: 1f8309454066ef42ca2da1be640fe529964e0a24 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

















                                                                                                           
class Autoqemu < Formula
  desc 'Installation and setup automation tool for QEMU virtual machines'
  homepage 'https://autoqemu.euandreh.xyz'
  url 'https://git.euandreh.xyz/autoqemu/snapshot/autoqemu-4d1a0b6314c4f6fcf31f80e608f6b03a316a7255.tar.gz'
  sha256 'fd501b421c8e562d957a38c83ea42173b5e9dc9b1bb9cef300aee48088fe3afe'
  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