/[gentoo-x86]/net-analyzer/ethstatus/ethstatus-0.4.3.ebuild
Gentoo

Contents of /net-analyzer/ethstatus/ethstatus-0.4.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (hide annotations) (download)
Sun Apr 27 14:15:28 2014 UTC (8 months ago) by jer
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
Removal (bug #501432).

1 pinkbyte 1.3 # Copyright 1999-2014 Gentoo Foundation
2 jer 1.1 # Distributed under the terms of the GNU General Public License v2
3 jer 1.6 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/ethstatus/ethstatus-0.4.3.ebuild,v 1.5 2014/01/20 15:53:29 ago Exp $
4 jer 1.1
5     EAPI=5
6     inherit toolchain-funcs
7    
8     DESCRIPTION="ncurses based utility to display real time statistics about network traffic."
9 jer 1.2 HOMEPAGE="http://packages.qa.debian.org/e/ethstatus.html"
10 jer 1.1 SRC_URI="mirror://debian/pool/main/e/ethstatus/${PN}_${PV}.tar.gz"
11    
12     LICENSE="GPL-2"
13     SLOT="0"
14 ago 1.5 KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux"
15 jer 1.1 IUSE=""
16    
17     RDEPEND=">=sys-libs/ncurses-5.4-r1"
18     DEPEND="
19     ${RDEPEND}
20     virtual/pkgconfig
21     "
22    
23     src_prepare() {
24     sed -i \
25     -e '/^CFLAGS/s|=|?=|g' \
26     -e '/^LDFLAGS/s|=|+=|g' \
27     -e 's|gcc|$(CC)|g' \
28     Makefile
29     tc-export CC
30     LDFLAGS="$( $(tc-getPKG_CONFIG) --libs ncurses) ${LDFLAGS}"
31     }
32    
33     src_install() {
34     dobin ethstatus
35     doman ethstatus.1
36     dodoc CHANGELOG README
37     }

  ViewVC Help
Powered by ViewVC 1.1.20