Diff sunxi-tools-1.3-r1 with a sunxi-tools-1.4.1-r1
/usr/portage/dev-embedded/sunxi-tools/sunxi-tools-1.4.1-r1.ebuild 2023-10-09 14:52:29.352368347 +0300 | ||
---|---|---|
8 | 8 |
MY_PV="v${PV}" |
9 | 9 |
SRC_URI="https://github.com/linux-sunxi/sunxi-tools/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" |
10 | 10 | |
11 |
DESCRIPTION="Tools for Allwinner A10 devices" |
|
11 |
DESCRIPTION="Tools for Allwinner A10 devices." |
|
12 | 12 |
HOMEPAGE="http://linux-sunxi.org/" |
13 | 13 | |
14 | 14 |
LICENSE="GPL-2" |
... | ... | |
16 | 16 |
IUSE="" |
17 | 17 |
KEYWORDS="~amd64" |
18 | 18 | |
19 |
DEPEND="virtual/libusb" |
|
19 |
RDEPEND="acct-group/plugdev |
|
20 |
virtual/libusb:1 |
|
21 |
virtual/udev" |
|
22 | ||
23 |
DEPEND="${RDEPEND} |
|
24 |
virtual/pkgconfig" |
|
25 | ||
26 |
PATCHES=( |
|
27 |
"${FILESDIR}/${P}-respect-user-supplied-cflags.patch" |
|
28 |
"${FILESDIR}/${P}-fix-strncpy-compiler-warning.patch" |
|
29 |
) |
|
20 | 30 | |
21 | 31 |
src_compile() { |
22 |
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} -std=c99 -D_POSIX_C_SOURCE=200112L -Iinclude/" all misc |
|
32 |
tc-export PKG_CONFIG |
|
33 | ||
34 |
emake LIBUSB_CFLAGS="$(${PKG_CONFIG} --cflags libusb-1.0)" \ |
|
35 |
LIBUSB_LIBS="$(${PKG_CONFIG} --libs libusb-1.0)" \ |
|
36 |
CC="$(tc-getCC)" tools misc |
|
23 | 37 |
} |
24 | 38 | |
25 | 39 |
src_install() { |
26 |
dobin bin2fex fex2bin phoenix_info |
|
40 |
dobin bin2fex fex2bin phoenix_info sunxi-nand-image-builder |
|
27 | 41 |
newbin sunxi-bootinfo bootinfo |
28 | 42 |
newbin sunxi-fel fel |
29 | 43 |
newbin sunxi-fexc fexc |
30 | 44 |
newbin sunxi-nand-part nand-part |
31 |
newbin sunxi-pio pio |
|
32 | 45 |
} |