diff options
author | EuAndreh <eu@euandre.org> | 2021-02-21 19:48:17 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2021-02-21 20:02:15 -0300 |
commit | 1e99186b9dcc75595b525a8aa93bd9fee70c323e (patch) | |
tree | 03654aecd6fab13f047b77e164404764e49e1cc5 /Formula/autoqemu-latest.rb | |
parent | TODOs.md: Add Void to the list of target OSes (diff) | |
download | package-repository-1e99186b9dcc75595b525a8aa93bd9fee70c323e.tar.gz package-repository-1e99186b9dcc75595b525a8aa93bd9fee70c323e.tar.xz |
Support -latest (main branch) and tagged releases
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 |