Subject: [alpine-aports] [PATCH] testing/stm32flash: New aport

From: Marian Buschsieweke <[email-masked]>
Date: Thu, 5 Apr 2018 16:31:20 +0200

https://sourceforge.net/p/stm32flash/wiki/Home/
Flash STM32 ARM SoCs using built-in ST serial bootloader over UART or I2C
---
 testing/stm32flash/APKBUILD | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 testing/stm32flash/APKBUILD

diff --git a/testing/stm32flash/APKBUILD b/testing/stm32flash/APKBUILD
new file mode 100644
index 0000000000..bb2f9a9baa
--- /dev/null
+++ b/testing/stm32flash/APKBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Marian Buschsieweke <[email-masked]>
+pkgname=stm32flash
+pkgver=0.5
+pkgrel=0
+pkgdesc="Flash STM32 ARM SoCs using built-in ST serial bootloader over UART or I2C"
+url="https://sourceforge.net/p/stm32flash/wiki/Home/"
+arch="all"
+license="GPL"
+depends=""
+makedepends=""
+subpackages="$pkgname-doc"
+source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
+builddir="$srcdir/$pkgname"
+options="!check"
+
+build() {
+	cd "$builddir"
+	make
+}
+
+package() {
+	cd "$builddir"
+	make PREFIX=/usr DESTDIR="$pkgdir" install
+}
+
+sha512sums="a01875a315d92d5e347372b736f2afa2f633851bf13af1326341c0c91e17cef54b6730ed1279280e86d3797033c856dfc25e8c595e010772b9287aaf965273f9  stm32flash-0.5.tar.gz"
-- 
2.16.3

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---