summaryrefslogtreecommitdiff
path: root/homebrew/stm32flash
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/stm32flash
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/stm32flash')
-rw-r--r--homebrew/stm32flash/.beer16
-rw-r--r--homebrew/stm32flash/.make.sh-auto2
-rw-r--r--homebrew/stm32flash/_metadata/description1
-rw-r--r--homebrew/stm32flash/_metadata/homepage1
-rw-r--r--homebrew/stm32flash/_metadata/name1
-rw-r--r--homebrew/stm32flash/_metadata/version1
-rwxr-xr-xhomebrew/stm32flash/download.sh1
7 files changed, 23 insertions, 0 deletions
diff --git a/homebrew/stm32flash/.beer b/homebrew/stm32flash/.beer
new file mode 100644
index 000000000..ca71e1776
--- /dev/null
+++ b/homebrew/stm32flash/.beer
@@ -0,0 +1,16 @@
+{
+ "name": "Stm32flash",
+ "description": "Open source flash program for STM32 using the ST serial bootloader",
+ "url": "https://downloads.sourceforge.net/project/stm32flash/stm32flash-0.5.tar.gz",
+ "mirror": null,
+ "homepage": "https://sourceforge.net/projects/stm32flash/",
+ "depends": [],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "system \"make\", \"PREFIX=#{prefix}\", \"install\""
+ ],
+ "version": "0.5",
+ "file": "stm32flash.rb"
+} \ No newline at end of file
diff --git a/homebrew/stm32flash/.make.sh-auto b/homebrew/stm32flash/.make.sh-auto
new file mode 100644
index 000000000..131bd0c75
--- /dev/null
+++ b/homebrew/stm32flash/.make.sh-auto
@@ -0,0 +1,2 @@
+pkg:setup
+make PREFIX=${PKG_TAPF} DESTDIR=${PKG_DEST} install
diff --git a/homebrew/stm32flash/_metadata/description b/homebrew/stm32flash/_metadata/description
new file mode 100644
index 000000000..734a3e0de
--- /dev/null
+++ b/homebrew/stm32flash/_metadata/description
@@ -0,0 +1 @@
+Open source flash program for STM32 using the ST serial bootloader
diff --git a/homebrew/stm32flash/_metadata/homepage b/homebrew/stm32flash/_metadata/homepage
new file mode 100644
index 000000000..fd39e2fc9
--- /dev/null
+++ b/homebrew/stm32flash/_metadata/homepage
@@ -0,0 +1 @@
+https://sourceforge.net/projects/stm32flash/
diff --git a/homebrew/stm32flash/_metadata/name b/homebrew/stm32flash/_metadata/name
new file mode 100644
index 000000000..9fa85a03d
--- /dev/null
+++ b/homebrew/stm32flash/_metadata/name
@@ -0,0 +1 @@
+Stm32flash
diff --git a/homebrew/stm32flash/_metadata/version b/homebrew/stm32flash/_metadata/version
new file mode 100644
index 000000000..2eb3c4fe4
--- /dev/null
+++ b/homebrew/stm32flash/_metadata/version
@@ -0,0 +1 @@
+0.5
diff --git a/homebrew/stm32flash/download.sh b/homebrew/stm32flash/download.sh
new file mode 100755
index 000000000..a9ee0b729
--- /dev/null
+++ b/homebrew/stm32flash/download.sh
@@ -0,0 +1 @@
+wget https://downloads.sourceforge.net/project/stm32flash/stm32flash-0.5.tar.gz \ No newline at end of file