mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-17 23:48:20 +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>
45 lines
911 B
Bash
45 lines
911 B
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
inherit autotools
|
|
|
|
DESCRIPTION="Full screen visualization of the network traffic"
|
|
HOMEPAGE="http://soft.risp.ru/trafshow/index_en.shtml"
|
|
SRC_URI="ftp://ftp.nsk.su/pub/RinetSoftware/${P}.tgz"
|
|
|
|
LICENSE="BSD"
|
|
SLOT="3"
|
|
KEYWORDS="amd64 ~hppa ~ppc ppc64 ~sparc x86"
|
|
IUSE="slang"
|
|
|
|
DEPEND="
|
|
net-libs/libpcap
|
|
!slang? ( sys-libs/ncurses )
|
|
slang? ( >=sys-libs/slang-1.4 )
|
|
"
|
|
BDEPEND="
|
|
virtual/pkgconfig
|
|
"
|
|
PATCHES=(
|
|
"${FILESDIR}"/${P}-gcc44.patch
|
|
"${FILESDIR}"/${P}-gentoo.patch
|
|
"${FILESDIR}"/${P}-pcap_init.patch
|
|
"${FILESDIR}"/${P}-tinfo.patch
|
|
)
|
|
|
|
src_prepare() {
|
|
default
|
|
cat /usr/share/aclocal/pkg.m4 >> aclocal.m4 || die
|
|
eautoreconf
|
|
}
|
|
|
|
src_configure() {
|
|
if ! use slang; then
|
|
# No command-line option so pre-cache instead
|
|
export ac_cv_have_curses=ncurses
|
|
export LIBS=-lncurses
|
|
fi
|
|
|
|
default
|
|
}
|