diff options
Diffstat (limited to '')
-rw-r--r-- | Formula/autoqemu-latest.rb | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Formula/autoqemu-latest.rb b/Formula/autoqemu-latest.rb new file mode 100644 index 0000000..a153824 --- /dev/null +++ b/Formula/autoqemu-latest.rb @@ -0,0 +1,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 |