diff options
author | Jakov Smolić <jsmolic@gentoo.org> | 2021-10-21 18:54:34 +0200 |
---|---|---|
committer | Jakov Smolić <jsmolic@gentoo.org> | 2021-10-21 20:22:54 +0200 |
commit | 42c19b780c969e204301ee007dce42a41607d7df (patch) | |
tree | b10fd3fb6bd6bc436f89d32cbf01c0bd07cf4c0b /sys-apps/rkflashtool | |
parent | package.mask: Last rite sys-auth/ykneo-ccid-tools (diff) | |
download | gentoo-42c19b780c969e204301ee007dce42a41607d7df.tar.gz gentoo-42c19b780c969e204301ee007dce42a41607d7df.tar.bz2 gentoo-42c19b780c969e204301ee007dce42a41607d7df.zip |
sys-apps/rkflashtool: Port to EAPI 8
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'sys-apps/rkflashtool')
-rw-r--r-- | sys-apps/rkflashtool/rkflashtool-6.1.ebuild | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/sys-apps/rkflashtool/rkflashtool-6.1.ebuild b/sys-apps/rkflashtool/rkflashtool-6.1.ebuild index d4b936000f91..427682fdae4d 100644 --- a/sys-apps/rkflashtool/rkflashtool-6.1.ebuild +++ b/sys-apps/rkflashtool/rkflashtool-6.1.ebuild @@ -1,25 +1,24 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=8 inherit toolchain-funcs DESCRIPTION="Tool for flashing Rockchip devices" HOMEPAGE="https://sourceforge.net/projects/rkflashtool/" SRC_URI="mirror://sourceforge/project/${PN}/${P}/${P}-src.tar.xz" +S="${WORKDIR}/${P}-src" LICENSE="BSD-2" SLOT="0" KEYWORDS="~amd64" -IUSE="" - -S=${WORKDIR}/${P}-src RDEPEND="virtual/libusb:1" DEPEND="${RDEPEND}" src_prepare() { + default cp "${FILESDIR}"/${P}-missing-version.h version.h || die sed -i -e "s/CC =/CC ?=/"\ -e "s/CFLAGS =/CFLAGS ?=/"\ |