summaryrefslogtreecommitdiff
blob: 7dd46be27b2a2c4232017730b124ad05b64f9e26 (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-plugins/gkrellm-seti/gkrellm-seti-0.7.0b-r1.ebuild,v 1.8 2005/09/17 10:08:31 agriffis Exp $

inherit eutils

IUSE=""
S=${WORKDIR}/${P//gkrellm-}
DESCRIPTION="a Seti@Home Monitor Plugin for Gkrellm"
SRC_URI="http://xavier.serpaggi.free.fr/seti/${P//gkrellm-}.tar.bz2 http://xavier.serpaggi.free.fr/seti/GKrellM_seti_plugin_GTK+2.tgz"
HOMEPAGE="http://xavier.serpaggi.free.fr/seti"

DEPEND="=app-admin/gkrellm-2.1*"

SLOT="2"
LICENSE="GPL-2"
KEYWORDS="alpha sparc x86"

src_unpack() {
	unpack ${A}
	epatch ${FILESDIR}/gentoo-gkrellm-seti-path.patch || die "failed to apply patch"
	mv ${WORKDIR}/Makefile ${S}
	mv ${WORKDIR}/seti.c ${S}
	mv ${WORKDIR}/seti.h ${S}
}

src_compile() {
	make || die
}

src_install () {
	exeinto /usr/lib/gkrellm2/plugins
	doexe seti.so
	dodoc README ChangeLog COPYING NEWS
}