diff options
author | Marian Buschsieweke <marian.buschsieweke@ovgu.de> | 2018-04-05 16:31:20 +0200 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2018-07-17 13:30:49 +0000 |
commit | 2bb5380b9499ce7c18c326826feff5c8ad1a1fc8 (patch) | |
tree | feb7190b7e223d3d8ecd1157e839240c24d45b6e /testing/stm32flash | |
parent | 40fd8ce8d8419d7627964e69c29ea7c30b65a953 (diff) | |
download | aports-2bb5380b9499ce7c18c326826feff5c8ad1a1fc8.tar.bz2 aports-2bb5380b9499ce7c18c326826feff5c8ad1a1fc8.tar.xz |
testing/stm32flash: New aport
https://sourceforge.net/p/stm32flash/wiki/Home/
Flash STM32 ARM SoCs using built-in ST serial bootloader over UART or I2C
Diffstat (limited to 'testing/stm32flash')
-rw-r--r-- | testing/stm32flash/APKBUILD | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/testing/stm32flash/APKBUILD b/testing/stm32flash/APKBUILD new file mode 100644 index 0000000000..09baf50819 --- /dev/null +++ b/testing/stm32flash/APKBUILD @@ -0,0 +1,24 @@ +# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de> +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-2.0-or-later" +subpackages="$pkgname-doc" +source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz" +builddir="$srcdir/$pkgname" +options="!check" # no test suite + +build() { + cd "$builddir" + make +} + +package() { + cd "$builddir" + make PREFIX=/usr DESTDIR="$pkgdir" install +} + +sha512sums="a01875a315d92d5e347372b736f2afa2f633851bf13af1326341c0c91e17cef54b6730ed1279280e86d3797033c856dfc25e8c595e010772b9287aaf965273f9 stm32flash-0.5.tar.gz" |