summaryrefslogtreecommitdiff
blob: 247ab9f99b2a887a7561d56de773fa55ac283d13 (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
46
47
48
49
50
51
52
53
54
55
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/anjuta/anjuta-0.1.9.ebuild,v 1.12 2003/02/13 11:46:32 vapier Exp $

S=${WORKDIR}/${P}
DESCRIPTION="A versatile Integrated Development Environment (IDE) for C and C++."
SRC_URI="http://anjuta.sourceforge.net/packages/${P}.tar.gz"
HOMEPAGE="http://anjuta.sourceforge.net/"

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

DEPEND=">=gnome-base/gnome-libs-1.4.1.2-r1
	=x11-libs/gtk+-1.2*
	=gnome-base/libglade-0.17*
	=gnome-base/gnome-vfs-1.0*
	media-libs/audiofile
	dev-libs/libxml
	dev-util/pkgconfig
	app-text/scrollkeeper"
	
RDEPEND="dev-util/glade
	 media-gfx/gnome-iconedit
	 app-text/scrollkeeper
	 =x11-libs/gtk+-1.2*
	 media-libs/audiofile
	 dev-util/ctags
	 sys-devel/gdb
	 sys-apps/grep
	 >=sys-libs/db-3.2.3
	 dev-util/indent"


src_compile() {
        
	local myconf
	use nls || myconf="--disable-nls"

	econf ${myconf} || die
	emake \
		anjuta_docdir=/usr/share/doc/${PF} || die
}

src_install () {
	
	einstall \
		PACKAGE_DOC_DIR=${D}/usr/share/doc \
		anjuta_docdir=${D}/usr/share/doc/${PF} || die


	rm -rf ${D}/usr/doc

	dodoc AUTHORS COPYING ChangeLog FUTURE NEWS README THANKS TODO
}