diff options
author | EuAndreh <eu@euandre.org> | 2021-02-20 03:37:39 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2021-02-20 03:46:54 -0300 |
commit | d3f2eed3e15a3380583c72a6f8e16cbe85614bed (patch) | |
tree | c6e0eab956c6fe606b865fe706300a05a821ac69 /Formula/autoqemu.rb | |
parent | Makefile: Mark "all" target as .PHONY (diff) | |
download | package-repository-d3f2eed3e15a3380583c72a6f8e16cbe85614bed.tar.gz package-repository-d3f2eed3e15a3380583c72a6f8e16cbe85614bed.tar.xz |
Add Homebrew initial packaging
Diffstat (limited to '')
-rw-r--r-- | Formula/autoqemu.rb | 18 |
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 |