mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
net-analyzer/bwmon: port to EAPI 7, BDEPEND
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,30 +1,28 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
inherit eutils toolchain-funcs
|
||||
EAPI=7
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Simple ncurses bandwidth monitor"
|
||||
HOMEPAGE="http://bwmon.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
RDEPEND="sys-libs/ncurses"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2 public-domain"
|
||||
KEYWORDS="amd64 ~hppa ppc sparc x86"
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${P}-build.patch \
|
||||
"${FILESDIR}"/${P}-typo-fix.patch \
|
||||
"${FILESDIR}"/${P}-overflow.patch \
|
||||
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)"
|
||||
|
||||
Reference in New Issue
Block a user