updated urls
updated README updated bottle url updated sha256 updated sha256 updated url updated sha256 updated bottle updated sha256 updated sha256 removed bottle from directory updated sha256 updated bottle sha updated formula location updated sha updated sha updated url updated build updated build updated build updated build updated build updated build updated build removed bottles updated update sha testing testing testing testing testing testing testing testing testing testing testing testing testing testing testing testing testing testing testing testing testing testing
This commit is contained in:
commit
d689904004
3 changed files with 67 additions and 0 deletions
BIN
.DS_Store
vendored
Normal file
BIN
.DS_Store
vendored
Normal file
Binary file not shown.
62
Formula/msg-cli.rb
Normal file
62
Formula/msg-cli.rb
Normal file
|
@ -0,0 +1,62 @@
|
|||
# Documentation: https://docs.brew.sh/Formula-Cookbook
|
||||
# https://rubydoc.brew.sh/Formula
|
||||
# PLEASE REMOVE ALL GENERATED COMMENTS BEFORE SUBMITTING YOUR PULL REQUEST!
|
||||
class MsgCli < Formula
|
||||
desc "MacOS Subsystem for Guix - Creates a virtual machine for running a local guix environment on your mac"
|
||||
homepage "https://superkamiguru.org/projects/msg.html"
|
||||
url "https://forge.superkamiguru.org/MSG/msg-cli/archive/v0.1.0.tar.gz"
|
||||
sha256 "62f1f61fe6282269590dabd0cea6eb1e5cc912c5d4e81e9cc0b80fbf9164313a"
|
||||
license "AGPL-3.0-or-later"
|
||||
|
||||
bottle do
|
||||
root_url "https://forge.superkamiguru.org/MSG/homebrew-apps/releases/download/msg-cli_v0.1.0"
|
||||
sha256 arm64_sequoia: "66463cf2cc149385a125c82745cc3969817c59b6a6f3724fe083cb3733b4eb02"
|
||||
end
|
||||
|
||||
# depends_on "cmake" => :build
|
||||
depends_on "wget"
|
||||
depends_on "qemu"
|
||||
depends_on "autoconf" => :build
|
||||
depends_on "automake" => :build
|
||||
depends_on "libtool" => :build
|
||||
depends_on "guile-next"
|
||||
depends_on "texinfo"
|
||||
# Additional dependency
|
||||
# resource "" do
|
||||
# url ""
|
||||
# sha256 ""
|
||||
# end
|
||||
|
||||
def install
|
||||
# Remove unrecognized options if they cause configure to fail
|
||||
# https://rubydoc.brew.sh/Formula.html#std_configure_args-instance_method
|
||||
ENV["GUILE_AUTO_COMPILE"] = "0"
|
||||
|
||||
# We need this so we can find other modules.
|
||||
ENV["GUILE_LOAD_PATH"] = HOMEBREW_PREFIX/"share/guile/site/3.0"
|
||||
ENV["GUILE_LOAD_COMPILED_PATH"] = HOMEBREW_PREFIX/"lib/guile/3.0/site-ccache"
|
||||
ENV["GUILE_SYSTEM_EXTENSIONS_PATH"] = HOMEBREW_PREFIX/"lib/guile/3.0/extensions"
|
||||
system "autoreconf", "-vif"
|
||||
system "./configure", "--prefix=#{prefix}", "--libdir=#{prefix}/lib"
|
||||
system "make"
|
||||
system "make", "install"
|
||||
# system "cmake", "-S", ".", "-B", "build", *std_cmake_args
|
||||
end
|
||||
|
||||
def post_install
|
||||
system "guild", "compile", "-o", "#{prefix}/lib/guile/3.0/site-ccache/msg/machine.go", "#{prefix}/share/guile/site/3.0/msg/machine.scm"
|
||||
end
|
||||
|
||||
test do
|
||||
# `test do` will create, run in and delete a temporary directory.
|
||||
#
|
||||
# This test will fail and we won't accept that! For Homebrew/homebrew-core
|
||||
# this will need to be a test that verifies the functionality of the
|
||||
# software. Run the test with `brew test msg-cli`. Options passed
|
||||
# to `brew install` such as `--HEAD` also need to be provided to `brew test`.
|
||||
#
|
||||
# The installed folder is not in the path, so use the entire path to any
|
||||
# executables being tested: `system bin/"program", "do", "something"`.
|
||||
system "false"
|
||||
end
|
||||
end
|
5
README.org
Normal file
5
README.org
Normal file
|
@ -0,0 +1,5 @@
|
|||
* How to install formula
|
||||
** Install by adding tap
|
||||
#+begin_src sh
|
||||
brew tap MSG/apps https://forge.superkamiguru.org/MSG/homebrew-apps
|
||||
#+end_src
|
Loading…
Add table
Reference in a new issue