From d3f2eed3e15a3380583c72a6f8e16cbe85614bed Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sat, 20 Feb 2021 03:37:39 -0300 Subject: Add Homebrew initial packaging --- Formula/autoqemu.rb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Formula/autoqemu.rb (limited to 'Formula/autoqemu.rb') diff --git a/Formula/autoqemu.rb b/Formula/autoqemu.rb new file mode 100644 index 0000000..1f83094 --- /dev/null +++ b/Formula/autoqemu.rb @@ -0,0 +1,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 -- cgit v1.2.3