gentoo-ebuilds/dev-embedded/dc-tool-ip/dc-tool-ip-1.0.4.ebuild
Lucio Sauer 794061a329
*/*: inline mirror://sourceforge
bump copyright of touched ebuilds to 2024

Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2024-04-30 20:21:05 +02:00

43 lines
854 B
Bash

# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
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"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="doc"
RDEPEND="sys-libs/binutils-libs"
DEPEND="${RDEPEND}"
S="${WORKDIR}/dcload-ip-${PV}"
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
}