summaryrefslogtreecommitdiff
path: root/homebrew/teensyloadercli
diff options
context:
space:
mode:
authorMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-20 20:49:46 -0500
committerMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-23 20:18:47 -0500
commit12335518ab39608d58370c85ff9f5384ad2aa5f7 (patch)
tree352d81f2a2de3f1252af732080ec0fde38c13b4d /homebrew/teensyloadercli
parenta2b26ad12d4fa12f0273645caf4be6d0b8b71e7c (diff)
Ported in the homebrew-marauder for a hacky update/import system.
TODO: Maybe add a license & fix up messy code.
Diffstat (limited to 'homebrew/teensyloadercli')
-rw-r--r--homebrew/teensyloadercli/.beer19
-rw-r--r--homebrew/teensyloadercli/.make.sh-auto5
-rw-r--r--homebrew/teensyloadercli/_metadata/description1
-rw-r--r--homebrew/teensyloadercli/_metadata/homepage1
-rw-r--r--homebrew/teensyloadercli/_metadata/name1
-rw-r--r--homebrew/teensyloadercli/_metadata/version1
-rwxr-xr-xhomebrew/teensyloadercli/download.sh1
7 files changed, 29 insertions, 0 deletions
diff --git a/homebrew/teensyloadercli/.beer b/homebrew/teensyloadercli/.beer
new file mode 100644
index 000000000..98e266552
--- /dev/null
+++ b/homebrew/teensyloadercli/.beer
@@ -0,0 +1,19 @@
+{
+ "name": "TeensyLoaderCli",
+ "description": "Command-line integration for Teensy USB development boards",
+ "url": "https://github.com/PaulStoffregen/teensy_loader_cli/archive/2.1.tar.gz",
+ "mirror": null,
+ "homepage": "https://www.pjrc.com/teensy/loader_cli.html",
+ "depends": [],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "ENV[\"OS\"] = \"MACOSX\"",
+ "ENV[\"SDK\"] = MacOS.sdk_path || \"/\"",
+ "system \"make\"",
+ "bin.install \"teensy_loader_cli\""
+ ],
+ "version": "2.1",
+ "file": "teensy_loader_cli.rb"
+} \ No newline at end of file
diff --git a/homebrew/teensyloadercli/.make.sh-auto b/homebrew/teensyloadercli/.make.sh-auto
new file mode 100644
index 000000000..53a69cfc2
--- /dev/null
+++ b/homebrew/teensyloadercli/.make.sh-auto
@@ -0,0 +1,5 @@
+pkg:setup
+ENV["OS"] = "MACOSX"
+ENV["SDK"] = MacOS.sdk_path || "/"
+make
+bin.install "teensy_loader_cli"
diff --git a/homebrew/teensyloadercli/_metadata/description b/homebrew/teensyloadercli/_metadata/description
new file mode 100644
index 000000000..a8c6ee736
--- /dev/null
+++ b/homebrew/teensyloadercli/_metadata/description
@@ -0,0 +1 @@
+Command-line integration for Teensy USB development boards
diff --git a/homebrew/teensyloadercli/_metadata/homepage b/homebrew/teensyloadercli/_metadata/homepage
new file mode 100644
index 000000000..a48de052e
--- /dev/null
+++ b/homebrew/teensyloadercli/_metadata/homepage
@@ -0,0 +1 @@
+https://www.pjrc.com/teensy/loader_cli.html
diff --git a/homebrew/teensyloadercli/_metadata/name b/homebrew/teensyloadercli/_metadata/name
new file mode 100644
index 000000000..eee143ac0
--- /dev/null
+++ b/homebrew/teensyloadercli/_metadata/name
@@ -0,0 +1 @@
+TeensyLoaderCli
diff --git a/homebrew/teensyloadercli/_metadata/version b/homebrew/teensyloadercli/_metadata/version
new file mode 100644
index 000000000..879b416e6
--- /dev/null
+++ b/homebrew/teensyloadercli/_metadata/version
@@ -0,0 +1 @@
+2.1
diff --git a/homebrew/teensyloadercli/download.sh b/homebrew/teensyloadercli/download.sh
new file mode 100755
index 000000000..524c47faf
--- /dev/null
+++ b/homebrew/teensyloadercli/download.sh
@@ -0,0 +1 @@
+wget https://github.com/PaulStoffregen/teensy_loader_cli/archive/2.1.tar.gz \ No newline at end of file