aboutsummaryrefslogtreecommitdiff
path: root/Formula/autoqemu-latest.rb
blob: 58744b1e5bbcd9a2f33f194501a2240279a9add3 (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-a6b893247a4b2b8c143f69fb81ac58c42b2ad315.tar.gz'
  sha256 'cbdbd00e30a2fac6bbd53f3188926eb5fabaa3d5d0027dc1141c54e73fb86256'
  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