Last active
April 4, 2019 20:44
-
-
Save thomasantony/e8a63b4fbe3ea29801289d87eef692f8 to your computer and use it in GitHub Desktop.
Installs qcl tool using Homebrew for communicating with QNX OS devices
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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