summaryrefslogtreecommitdiff
blob: 9b615080b87b881a91172eb34df6b9a0ec2bb9ea (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/gedit/gedit-0.9.6-r1.ebuild,v 1.16 2004/06/24 21:54:09 agriffis Exp $

inherit flag-o-matic

DESCRIPTION="Gnome Text Editor"
HOMEPAGE="http://gedit.sourceforge.net/"
SRC_URI="mirror://gnome//sources/gedit/${PV/.6}/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="O"
KEYWORDS="x86 sparc ppc"
IUSE="nls"

RDEPEND="<gnome-base/libglade-2
	>=gnome-base/gnome-print-0.30
	=gnome-base/gnome-vfs-1*"
DEPEND="${RDEPEND}
	nls? ( sys-devel/gettext )"

src_compile() {
	local myconf
	use nls || myconf="--disable-nls"
	append-flags `gnome-config --cflags libglade vfs`

	./configure \
		--host=${CHOST} \
		--prefix=/usr \
		${myconf} || die
	emake || die
}

src_install() {
	make prefix=${D}/usr install || die
	dodoc AUTHORS BUGS ChangeLog FAQ NEWS README* THANKS TODO
}