blob: 9d084c8b63f12dab29860a74c906a1f5089b6f2d (
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
45
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gcalctool/gcalctool-5.8.25-r1.ebuild,v 1.8 2007/06/02 02:57:15 ranger Exp $
inherit eutils gnome2
DESCRIPTION="A calculator application for GNOME"
HOMEPAGE="http://calctool.sourceforge.net/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 ~sh sparc x86 ~x86-fbsd"
IUSE=""
RDEPEND=">=x11-libs/gtk+-2.6
>=dev-libs/glib-2
>=dev-libs/atk-1.5
>=gnome-base/libgnome-2
>=gnome-base/libgnomeui-2
>=gnome-base/gconf-2"
DEPEND="${RDEPEND}
sys-devel/gettext
app-text/scrollkeeper
>=dev-util/intltool-0.35
>=dev-util/pkgconfig-0.9
>=app-text/gnome-doc-utils-0.3.2"
DOCS="AUTHORS ChangeLog* MAINTAINERS NEWS README TODO"
pkg_setup() {
G2CONF="${G2CONF} --enable-gnome"
}
src_unpack() {
gnome2_src_unpack
epatch "${FILESDIR}"/${P}-hex-float.patch
}
src_install() {
gnome2_src_install
# remove symlink that conflicts with <2.3 gnome-utils
rm -f "${D}"/usr/bin/gnome-calculator
}
|