aboutsummaryrefslogtreecommitdiff
path: root/Formula/autoqemu.rb
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-02-20 03:37:39 -0300
committerEuAndreh <eu@euandre.org>2021-02-20 03:46:54 -0300
commitd3f2eed3e15a3380583c72a6f8e16cbe85614bed (patch)
treec6e0eab956c6fe606b865fe706300a05a821ac69 /Formula/autoqemu.rb
parentMakefile: Mark "all" target as .PHONY (diff)
downloadpackage-repository-d3f2eed3e15a3380583c72a6f8e16cbe85614bed.tar.gz
package-repository-d3f2eed3e15a3380583c72a6f8e16cbe85614bed.tar.xz
Add Homebrew initial packaging
Diffstat (limited to '')
-rw-r--r--Formula/autoqemu.rb18
1 files changed, 18 insertions, 0 deletions
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