Diff stm32flash-0.6 with a stm32flash-0.7
/usr/portage/dev-embedded/stm32flash/stm32flash-0.7.ebuild 2023-10-09 14:52:29.352368347 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2021 Gentoo Authors |
|
1 |
# Copyright 1999-2023 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 |
EAPI=8 |
|
5 | ||
6 |
inherit toolchain-funcs |
|
4 |
EAPI="8" |
|
7 | 5 | |
8 | 6 |
DESCRIPTION="Open source flash program for STM32 using the ST serial bootloader" |
9 | 7 |
HOMEPAGE="https://sourceforge.net/projects/stm32flash/" |
... | ... | |
12 | 10 |
LICENSE="GPL-2+" |
13 | 11 |
SLOT="0" |
14 | 12 |
KEYWORDS="~amd64 ~x86" |
15 | ||
16 |
PATCHES=( |
|
17 |
"${FILESDIR}/stm32flash-0.6-fix-i2c-erase-b079cd0.patch" |
|
18 |
"${FILESDIR}/stm32flash-0.6-fix-i2c-erase-17a24f8.patch" |
|
19 |
"${FILESDIR}/stm32flash-0.6-fix-i2c-erase-01fbb65.patch" |
|
20 |
) |
|
21 | ||
22 |
src_prepare() { |
|
23 |
default |
|
24 |
tc-export CC |
|
25 |
} |
|
26 | ||
27 |
src_install() { |
|
28 |
dobin ${PN} |
|
29 |
doman ${PN}.1 |
|
30 |
} |