summaryrefslogtreecommitdiff
blob: 25ade0e4fccd44f03d5cad355c99f47b5d5c4758 (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
# Copyright 1999-2011 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.5 2011/03/27 12:20:05 nirbheek Exp $

EAPI="1"

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:2
	>=x11-libs/gtk+-2.4:2
	>=gnome-base/libgnome-2
	>=gnome-base/libgnomeui-2"
DEPEND="${RDEPEND}
	>=dev-util/scons-0.93
	dev-util/pkgconfig
	>=dev-util/intltool-0.22
	>=sys-devel/gettext-0.10"

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
}