mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-19 08:29:37 +00:00
Result of running the command: grep --include="*.ebuild" -r . -e 'KEYWORDS=.*[" ]sparc' -l | xargs ekeyword ~sparc Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
34 lines
723 B
Bash
34 lines
723 B
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
inherit toolchain-funcs
|
|
|
|
DESCRIPTION="Simple ncurses bandwidth monitor"
|
|
HOMEPAGE="https://bwmon.sourceforge.net/"
|
|
SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.gz"
|
|
|
|
BDEPEND="virtual/pkgconfig"
|
|
RDEPEND="sys-libs/ncurses"
|
|
DEPEND="${RDEPEND}"
|
|
|
|
SLOT="0"
|
|
LICENSE="GPL-2 public-domain"
|
|
KEYWORDS="amd64 ~hppa ppc ~sparc x86"
|
|
|
|
PATCHES=(
|
|
"${FILESDIR}"/${P}-build.patch
|
|
"${FILESDIR}"/${P}-typo-fix.patch
|
|
"${FILESDIR}"/${P}-overflow.patch
|
|
"${FILESDIR}"/${P}-tinfo.patch
|
|
)
|
|
|
|
src_compile() {
|
|
emake -C src CC="$(tc-getCC)" PKG_CONFIG="$(tc-getPKG_CONFIG)"
|
|
}
|
|
|
|
src_install() {
|
|
dobin ${PN}
|
|
dodoc README
|
|
}
|