Add ucblogo brew recipe
jrincayc opened this issue · 1 comments
jrincayc commented
It would be useful if people using brew ( https://brew.sh/ ) could install ucblogo with brew.
As in get a recipe added to brew so that:
brew install ucblogo
worked
jrincayc commented
Start of formula:
class Ucblogo < Formula
desc "Berkeley Logo interpreter"
homepage "https://people.eecs.berkeley.edu/~bh/logo.html"
url "https://github.com/jrincayc/ucblogo-code/releases/download/version_6.2.3/ucblogo-6.2.3.tar.gz"
sha256 "73c83dcd2c817359f8f7dc6307601e511526d4c2ab645c5318d4dab6017619a5"
license "GPL-3.0-or-later"
# depends_on "cmake" => :build
depends_on "wxwidgets"
def install
# ENV.deparallelize # if your formula fails when building in parallel
# Remove unrecognized options if warned by configure
# https://rubydoc.brew.sh/Formula.html#std_configure_args-instance_method
system "./configure", *std_configure_args, "--disable-silent-rules", "--with-wx-config=wx-config"
system "make", "install"
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 ucblogo`. 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