commit:     6c82ce62f35f193c3336706c4d05d85d6f9162ef
Author:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 29 13:38:02 2025 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Mon Sep 29 13:38:02 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c82ce62

dev-embedded/dc-tool-ip: update EAPI 7 -> 8

Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>

 dev-embedded/dc-tool-ip/dc-tool-ip-1.0.4-r1.ebuild | 42 ++++++++++++++++++++++
 1 file changed, 42 insertions(+)

diff --git a/dev-embedded/dc-tool-ip/dc-tool-ip-1.0.4-r1.ebuild 
b/dev-embedded/dc-tool-ip/dc-tool-ip-1.0.4-r1.ebuild
new file mode 100644
index 000000000000..dc289b301df4
--- /dev/null
+++ b/dev-embedded/dc-tool-ip/dc-tool-ip-1.0.4-r1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic toolchain-funcs
+
+DESCRIPTION="Ethernet program loader for the Dreamcast"
+HOMEPAGE="https://cadcdev.sourceforge.net/";
+SRC_URI="https://downloads.sourceforge.net/cadcdev/dcload-ip-${PV}-src.tar.gz";
+S="${WORKDIR}/dcload-ip-${PV}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+RDEPEND="sys-libs/binutils-libs"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+       "${FILESDIR}"/${P}-bfd-update.patch
+       "${FILESDIR}"/${P}-headers.patch
+       "${FILESDIR}"/${P}-makefile.patch
+)
+
+src_configure() {
+       tc-export CC
+       append-cppflags -DPACKAGE -DPACKAGE_VERSION #465952
+}
+
+src_compile() {
+       emake -C host-src/tool
+}
+
+src_install() {
+       dobin host-src/tool/dc-tool
+
+       dodoc README NETWORK CHANGES
+       dodoc -r make-cd
+       use doc && dodoc -r example-src
+}

Reply via email to