Skip to content

Instantly share code, notes, and snippets.

@thomasantony
Last active April 4, 2019 20:44
Show Gist options
  • Save thomasantony/e8a63b4fbe3ea29801289d87eef692f8 to your computer and use it in GitHub Desktop.
Save thomasantony/e8a63b4fbe3ea29801289d87eef692f8 to your computer and use it in GitHub Desktop.
Installs qcl tool using Homebrew for communicating with QNX OS devices
# Download file and run `brew install qcl.rb`
class Qcl < Formula
desc "A command line tool to transfer files into Qconn-enabled remote device"
homepage "https://github.com/TheHipbot/weather"
url "https://github.com/thomasantony/qcl/archive/master.zip"
sha256 "db762174cd29e827007d97333853e64a8e39210ac4fad23f3083d9912a5ba3ce"
version "1.0.0"
depends_on "perl"
bottle :unneeded
def install
system "(echo y;echo o conf prerequisites_policy follow;echo o conf commit)|cpan"
system "cpan", "-i", "Net::Telnet"
bin.install "qcl"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment