Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 247924 | Differences between
and this patch

Collapse All | Expand All

(-)a/bwmon-1.3.ebuild (-2 / +5 lines)
Lines 2-7 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/bwmon/bwmon-1.3.ebuild,v 1.17 2007/07/02 14:36:59 peper Exp $
3
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/bwmon/bwmon-1.3.ebuild,v 1.17 2007/07/02 14:36:59 peper Exp $
4
4
5
inherit eutils
6
5
DESCRIPTION="Simple ncurses bandwidth monitor"
7
DESCRIPTION="Simple ncurses bandwidth monitor"
6
HOMEPAGE="http://bwmon.sourceforge.net/"
8
HOMEPAGE="http://bwmon.sourceforge.net/"
7
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
9
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
Lines 17-26 Link Here
17
src_unpack() {
19
src_unpack() {
18
	unpack ${A}
20
	unpack ${A}
19
	cd ${S}
21
	cd ${S}
22
	epatch "${FILESDIR}/${PN}-makefile.patch"
20
	sed -i -e "s:/usr/local/bin:\$\{DESTDIR\}usr/bin:" \
23
	sed -i -e "s:/usr/local/bin:\$\{DESTDIR\}usr/bin:" \
21
	    Makefile
24
	    Makefile
22
	sed -i -e "s:CFLAGS =:CFLAGS = ${CFLAGS}:" \
25
	sed -i -e "s:CFLAGS =.*:& ${CFLAGS}:" \
23
	    -e "s:LDFLAGS =:LDFLAGS = -L/lib:" \
26
	    -e "s:LDFLAGS =:LDLIBS =:" \
24
	    src/Makefile
27
	    src/Makefile
25
}
28
}
26
29

Return to bug 247924