summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-09-16 20:18:11 +0200
committerDavid Seifert <soap@gentoo.org>2020-09-16 20:18:11 +0200
commit4577523cc470ab0e8a7d55207afe1dc79057389b (patch)
treeaca4d867ce52fd4531e589d49afd762e02180c9c
parentdev-embedded/smdk-dltool: Remove old 0.20-r3 (diff)
downloadgentoo-4577523cc470ab0e8a7d55207afe1dc79057389b.tar.gz
gentoo-4577523cc470ab0e8a7d55207afe1dc79057389b.tar.bz2
gentoo-4577523cc470ab0e8a7d55207afe1dc79057389b.zip
dev-embedded/smdk-dltool: Port to EAPI 7
Closes: https://bugs.gentoo.org/742206 Package-Manager: Portage-3.0.7, Repoman-3.0.1 Signed-off-by: David Seifert <soap@gentoo.org>
-rw-r--r--dev-embedded/smdk-dltool/files/smdk-dltool-0.20-add-S3C64xx-support.patch8
-rw-r--r--dev-embedded/smdk-dltool/files/smdk-dltool-0.20-build.patch4
-rw-r--r--dev-embedded/smdk-dltool/smdk-dltool-0.20-r4.ebuild20
3 files changed, 17 insertions, 15 deletions
diff --git a/dev-embedded/smdk-dltool/files/smdk-dltool-0.20-add-S3C64xx-support.patch b/dev-embedded/smdk-dltool/files/smdk-dltool-0.20-add-S3C64xx-support.patch
index 5b615aeb119..f2864b012a2 100644
--- a/dev-embedded/smdk-dltool/files/smdk-dltool-0.20-add-S3C64xx-support.patch
+++ b/dev-embedded/smdk-dltool/files/smdk-dltool-0.20-add-S3C64xx-support.patch
@@ -6,13 +6,13 @@ Subject: [PATCH] Add S3C64xx support
Author: unknown
URL: http://dev.odroid.com/frs/download.php/22/Linux-dltool.tar.gz
---
- dltool/dltool.c | 19 ++++++++++++++-----
+ dltool.c | 19 ++++++++++++++-----
1 files changed, 14 insertions(+), 5 deletions(-)
-diff --git a/dltool/dltool.c b/dltool/dltool.c
+diff --git a/dltool.c b/dltool.c
index 4e2d238..e76e607 100644
---- a/dltool/dltool.c
-+++ b/dltool/dltool.c
+--- a/dltool.c
++++ b/dltool.c
@@ -26,6 +26,8 @@ char *dl_file = "download.dat";
char *dl_udev = NULL;
char *dl_ubus = NULL;
diff --git a/dev-embedded/smdk-dltool/files/smdk-dltool-0.20-build.patch b/dev-embedded/smdk-dltool/files/smdk-dltool-0.20-build.patch
index c6e3b767394..9b7162d77cd 100644
--- a/dev-embedded/smdk-dltool/files/smdk-dltool-0.20-build.patch
+++ b/dev-embedded/smdk-dltool/files/smdk-dltool-0.20-build.patch
@@ -1,7 +1,7 @@
respect env build settings
---- a/releases/smdk-tools-v0.20/dltool/Makefile
-+++ b/releases/smdk-tools-v0.20/dltool/Makefile
+--- a/Makefile
++++ b/Makefile
@@ -7,8 +7,13 @@
.PHONY: clean
diff --git a/dev-embedded/smdk-dltool/smdk-dltool-0.20-r4.ebuild b/dev-embedded/smdk-dltool/smdk-dltool-0.20-r4.ebuild
index a0fec4846a4..ece10a6cf42 100644
--- a/dev-embedded/smdk-dltool/smdk-dltool-0.20-r4.ebuild
+++ b/dev-embedded/smdk-dltool/smdk-dltool-0.20-r4.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI="4"
+EAPI=7
-inherit toolchain-funcs eutils
+inherit toolchain-funcs
DESCRIPTION="Tool to communicate with Samsung SMDK boards"
HOMEPAGE="http://www.fluff.org/ben/smdk/tools/"
@@ -13,18 +13,20 @@ SRC_URI="http://www.fluff.org/ben/smdk/tools/downloads/smdk-tools-v${PV}.tar.gz"
LICENSE="all-rights-reserved"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
RESTRICT="mirror bindist"
RDEPEND="virtual/libusb:1"
DEPEND="${RDEPEND}"
-S=${WORKDIR}/releases/smdk-tools-v${PV}/dltool
+S="${WORKDIR}/releases/smdk-tools-v${PV}/dltool"
-src_prepare() {
- epatch "${FILESDIR}"/${P}-add-S3C64xx-support.patch
- epatch "${FILESDIR}"/${P}-build.patch
- epatch "${FILESDIR}"/${P}-libusb-1.0-r1.patch
+PATCHES=(
+ "${FILESDIR}"/${P}-add-S3C64xx-support.patch
+ "${FILESDIR}"/${P}-build.patch
+ "${FILESDIR}"/${P}-libusb-1.0-r1.patch
+)
+
+src_configure() {
tc-export CC PKG_CONFIG
}