Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 273511
Collapse All | Expand All

(-)uglygs-0_rc11.ebuild.old (-4 / +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/games-util/uglygs/uglygs-0_rc11.ebuild,v 1.10 2007/04/09 20:59:39 nyhm Exp $
3
# $Header: /var/cvsroot/gentoo-x86/games-util/uglygs/uglygs-0_rc11.ebuild,v 1.10 2007/04/09 20:59:39 nyhm Exp $
4
4
5
EAPI=2
6
5
inherit eutils games
7
inherit eutils games
6
8
7
MY_P=${P/0_/}
9
MY_P=${P/0_/}
Lines 11-17 Link Here
11
13
12
LICENSE="GPL-2"
14
LICENSE="GPL-2"
13
SLOT="0"
15
SLOT="0"
14
KEYWORDS="alpha hppa ppc sparc x86"
16
KEYWORDS="~alpha ~hppa ~ppc ~sparc ~x86"
15
IUSE=""
17
IUSE=""
16
18
17
RDEPEND="net-analyzer/rrdtool
19
RDEPEND="net-analyzer/rrdtool
Lines 19-33 Link Here
19
21
20
S=${WORKDIR}/${MY_P}
22
S=${WORKDIR}/${MY_P}
21
23
22
src_unpack() {
24
src_prepare() {
23
	unpack ${A}
24
	cd "${S}"
25
	epatch "${FILESDIR}"/${PV}-uglygs.conf.patch
25
	epatch "${FILESDIR}"/${PV}-uglygs.conf.patch
26
	sed -i "s:GENTOO_DIR:$(games_get_libdir)/${PN}:" uglygs.conf \
26
	sed -i "s:GENTOO_DIR:$(games_get_libdir)/${PN}:" uglygs.conf \
27
		|| die "sed uglygs.conf failed"
27
		|| die "sed uglygs.conf failed"
28
	epatch "${FILESDIR}"/${PV}-uglygs.pl.patch
28
	epatch "${FILESDIR}"/${PV}-uglygs.pl.patch
29
	sed -i "s:GENTOO_DIR:${GAMES_SYSCONFDIR}:" uglygs.pl \
29
	sed -i "s:GENTOO_DIR:${GAMES_SYSCONFDIR}:" uglygs.pl \
30
		|| die "sed uglygs.pl failed"
30
		|| die "sed uglygs.pl failed"
31
	sed -i -e "s/strndup/${PN}_strndup/" qstat/qstat.c || die
31
}
32
}
32
33
33
src_compile() {
34
src_compile() {

Return to bug 273511