blob: 2283c28f8bda7170e8f275d70d8451bb945af736 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-plugins/gkrellscore/gkrellscore-0.0.2.ebuild,v 1.11 2004/06/24 22:59:18 agriffis Exp $
MY_P=${P/-/_}
IUSE=""
DESCRIPTION="A GKrellM plugin that shows scores for many leagues"
SRC_URI="http://ssl.usu.edu/paul/gkrellscore/${MY_P}.tar.gz"
HOMEPAGE="http://ssl.usu.edu/paul/gkrellscore"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 ppc sparc alpha"
DEPEND="=app-admin/gkrellm-1.2*
=sys-apps/sed-4*
>=media-libs/imlib-1.9.10-r1"
src_unpack() {
unpack ${A}
cd ${S}
sed -i "s:excite:yahoo:g" ${PN}.excite
mv ${PN}.excite ${PN}.yahoo
sed -i \
-e "s:excite:yahoo:g" \
-e "s:Excite:Yahoo:g" \
-e 's#\(g_strdup_printf ("http://%s/%s/\)#\1teams#' \
-e "s:netscape:mozilla:g" \
-e "s:\(gkrellscore.yahoo\):/usr/share/gkrellm/\1:" \
${PN}.c
}
src_compile() {
emake || die
}
src_install () {
exeinto /usr/lib/gkrellm/plugins
doexe gkrellscore.so
exeinto /usr/share/gkrellm
doexe ${PN}.yahoo
dodoc README COPYING Changelog
}
|