summaryrefslogtreecommitdiff
blob: 5fbe478c9028cf5bfb4a4beecea175b542c826e1 (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
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/glosung/glosung-2.1.3.ebuild,v 1.3 2006/06/28 17:16:19 tsunam Exp $

DESCRIPTION="watch word program for the GNOME2 desktop (watch word (german): losung)"
HOMEPAGE="http://www.godehardt.org/losung.html"
SRC_URI="http://www.godehardt.org/download/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
IUSE=""

KEYWORDS="amd64 x86"

RDEPEND=">=gnome-base/gconf-2.0
	>=x11-libs/gtk+-2.4
	>=gnome-base/libgnome-2
	>=gnome-base/libgnomeui-2"
DEPEND=">=dev-util/scons-0.93
	dev-util/pkgconfig
	>=dev-util/intltool-0.22
	>=sys-devel/gettext-0.10
	>=sys-apps/sed-4
	${RDEPEND}"

src_unpack() {
	unpack ${A}
	cd ${S}
	#remove -Werror for updated glibc and gcc
	sed -i -e 's:-Werror ::g' SConstruct
}

src_compile() {
	scons ${MAKEOPTS} || die
}

src_install() {
	scons install DESTDIR=${D} || die
}